This PR adds `IO.FS.Metadata.numLinks`, which contains the number of hard links to a file. This changes the implementation of `System.FilePath.metadata` and `System.FilePath.symlinkMetadata` to use libuv. Otherwise, `st_nlink` was not properly set on Windows. This also has the side benefit of provided sub-second precision for file times on Windows (fulfilling an old TODO). Also, while libuv supports `lstat` for Windows, enabling that is left to a future PR. |
||
|---|---|---|
| .. | ||
| bench | ||
| bench-radar | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| CMakeLists.txt | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||