(path: string)
| 16 | } |
| 17 | |
| 18 | const posix = (path: string) => path.replaceAll("\\", "/") |
| 19 | |
| 20 | const makeFilter = ([format, source]: readonly ["gitignore" | "dockerignore", string]) => |
| 21 | format === "gitignore" ? IgnoreFile.gitignore(source) : Result.getOrThrow(IgnoreFile.dockerignore(source)) |