(pattern, options)
| 76 | tryPromise("chown", path, () => Deno.chown(path, uid, gid)) |
| 77 | |
| 78 | const glob: FileSystem.FileSystem["glob"] = (pattern, options) => |
| 79 | Effect.map( |
| 80 | collectAsyncIterable("glob", pattern, () => |
| 81 | expandGlob(pattern, { |
| 82 | root: options?.root ?? Deno.cwd(), |
| 83 | exclude: options?.exclude ? [...options.exclude] : [] |
| 84 | })), |
| 85 | (entries) => entries.map((entry) => entry.path) |
| 86 | ) |
| 87 | |
| 88 | const link: FileSystem.FileSystem["link"] = (existingPath, newPath) => |
| 89 | tryPromise("link", existingPath, () => Deno.link(existingPath, newPath)) |
nothing calls this directly
no test coverage detected