1 |
|
2 | # cp
|
3 |
|
4 | `cp` for node
|
5 |
|
6 | Really simple, straight-forward copying of files.
|
7 |
|
8 | ## API
|
9 |
|
10 | ### `cp(src, dest, cb)`
|
11 |
|
12 | Copy file `src` to `dest`
|
13 |
|
14 | ### `cp.sync(src, dest)`
|
15 |
|
16 | Synchronously copy file `src` to `dest`
|
17 |
|
18 | ## License
|
19 |
|
20 | (The MIT License)
|
21 |
|
22 | Copyright (c) 2013 Stephen Mathieson <me@stephenmathieson.com>
|
23 |
|
24 | Permission is hereby granted, free of charge, to any person obtaining
|
25 | a copy of this software and associated documentation files (the
|
26 | 'Software'), to deal in the Software without restriction, including
|
27 | without limitation the rights to use, copy, modify, merge, publish,
|
28 | distribute, sublicense, and/or sell copies of the Software, and to
|
29 | permit persons to whom the Software is furnished to do so, subject to
|
30 | the following conditions:
|
31 |
|
32 | The above copyright notice and this permission notice shall be
|
33 | included in all copies or substantial portions of the Software.
|
34 |
|
35 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
36 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
37 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
38 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
39 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
40 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
41 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
\ | No newline at end of file |