(spec: string, target: string)
| 54 | } |
| 55 | |
| 56 | function fileTarget(spec: string, target: string) { |
| 57 | if (spec.startsWith("file://")) return fileURLToPath(spec) |
| 58 | if (target.startsWith("file://")) return fileURLToPath(target) |
| 59 | return |
| 60 | } |
| 61 | |
| 62 | async function modifiedAt(file: string) { |
| 63 | const stat = await Filesystem.statAsync(file) |