diff options
author | Axetroy <axetroy.dev@gmail.com> | 2019-06-19 12:22:01 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-18 21:22:01 -0700 |
commit | c85b1c06a9804ad41fbccf8fe5a5689f28eb049e (patch) | |
tree | e855fc7c02baaa219aa81a2a54a69b19c1fb3716 /fs/copy.ts | |
parent | d6e92582cc2267210f71e893b14672783301f87b (diff) |
lint: add max line length rules (denoland/deno_std#507)
Original: https://github.com/denoland/deno_std/commit/b04fda30c8949b6347094b898bfa427c0b9a6162
Diffstat (limited to 'fs/copy.ts')
-rw-r--r-- | fs/copy.ts | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/fs/copy.ts b/fs/copy.ts index b51106e3a..c3c97d1ba 100644 --- a/fs/copy.ts +++ b/fs/copy.ts @@ -9,7 +9,8 @@ export interface CopyOptions { */ overwrite?: boolean; /** - * When `true`, will set last modification and access times to the ones of the original source files. + * When `true`, will set last modification and access times to the ones of the + * original source files. * When `false`, timestamp behavior is OS-dependent. * Default is `false`. */ @@ -188,9 +189,10 @@ function copyDirSync(src: string, dest: string, options: CopyOptions): void { /** * Copy a file or directory. The directory can have contents. Like `cp -r`. * @param src the file/directory path. - * Note that if `src` is a directory it will copy everything inside of this directory, - * not the entire directory itself - * @param dest the destination path. Note that if `src` is a file, `dest` cannot be a directory + * Note that if `src` is a directory it will copy everything inside + * of this directory, not the entire directory itself + * @param dest the destination path. Note that if `src` is a file, `dest` cannot + * be a directory * @param options */ export async function copy( @@ -225,9 +227,10 @@ export async function copy( /** * Copy a file or directory. The directory can have contents. Like `cp -r`. * @param src the file/directory path. - * Note that if `src` is a directory it will copy everything inside of this directory, - * not the entire directory itself - * @param dest the destination path. Note that if `src` is a file, `dest` cannot be a directory + * Note that if `src` is a directory it will copy everything inside + * of this directory, not the entire directory itself + * @param dest the destination path. Note that if `src` is a file, `dest` cannot + * be a directory * @param options */ export function copySync( |