From f7dd691cfb953f7bc1419fe26af5e18f38ab7e84 Mon Sep 17 00:00:00 2001 From: Axetroy Date: Fri, 17 May 2019 00:19:17 +0800 Subject: feat(fs): add copy/copySync (denoland/deno_std#278) Original: https://github.com/denoland/deno_std/commit/ab5b0887ccde0ad9f00f1943e27bd73bc483833b --- fs/testdata/copy_dir/0.txt | 1 + fs/testdata/copy_dir/nest/0.txt | 1 + fs/testdata/copy_dir_link_file/0.txt | 1 + fs/testdata/copy_file.txt | 1 + 4 files changed, 4 insertions(+) create mode 100644 fs/testdata/copy_dir/0.txt create mode 100644 fs/testdata/copy_dir/nest/0.txt create mode 120000 fs/testdata/copy_dir_link_file/0.txt create mode 100644 fs/testdata/copy_file.txt (limited to 'fs/testdata') diff --git a/fs/testdata/copy_dir/0.txt b/fs/testdata/copy_dir/0.txt new file mode 100644 index 000000000..f3a34851d --- /dev/null +++ b/fs/testdata/copy_dir/0.txt @@ -0,0 +1 @@ +text \ No newline at end of file diff --git a/fs/testdata/copy_dir/nest/0.txt b/fs/testdata/copy_dir/nest/0.txt new file mode 100644 index 000000000..cd1b98cb3 --- /dev/null +++ b/fs/testdata/copy_dir/nest/0.txt @@ -0,0 +1 @@ +nest \ No newline at end of file diff --git a/fs/testdata/copy_dir_link_file/0.txt b/fs/testdata/copy_dir_link_file/0.txt new file mode 120000 index 000000000..63413ea1c --- /dev/null +++ b/fs/testdata/copy_dir_link_file/0.txt @@ -0,0 +1 @@ +./fs/testdata/copy_dir/0.txt \ No newline at end of file diff --git a/fs/testdata/copy_file.txt b/fs/testdata/copy_file.txt new file mode 100644 index 000000000..84c22fd8a --- /dev/null +++ b/fs/testdata/copy_file.txt @@ -0,0 +1 @@ +txt \ No newline at end of file -- cgit v1.2.3