mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Create cp-r.mjs
This commit is contained in:
4
bench/snippets/cp-r.mjs
Normal file
4
bench/snippets/cp-r.mjs
Normal file
@@ -0,0 +1,4 @@
|
||||
import { cp } from "fs/promises";
|
||||
|
||||
await cp(process.argv[2], process.argv[3], { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user