(target, path)
| 382 | ) |
| 383 | |
| 384 | const symlink: FileSystem.FileSystem["symlink"] = (target, path) => |
| 385 | tryPromise("symlink", target, () => Deno.symlink(target, path)) |
| 386 | |
| 387 | const truncate: FileSystem.FileSystem["truncate"] = (path, length) => |
| 388 | tryPromise("truncate", path, () => Deno.truncate(path, length === undefined ? undefined : Number(length))) |
nothing calls this directly
no test coverage detected