Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Mac Malone 919721c758
feat: IO.FS.Metadata.numLinks (#12277)
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.
2026-02-09 14:28:56 +00:00
.claude doc: add changelog label instructions to CLAUDE.md (#12227) 2026-01-29 03:24:23 +00:00
.github chore: revert "chore: CI: avoid fetching full repo in PR Release (#12309)" 2026-02-09 13:12:35 +00:00
doc doc: clarify release notes title format requirements (#12182) 2026-01-27 08:08:47 +00:00
images
releases_drafts
script chore: reformat all cmake files (#12218) 2026-01-28 18:23:08 +00:00
src feat: IO.FS.Metadata.numLinks (#12277) 2026-02-09 14:28:56 +00:00
stage0 chore: update stage0 2026-02-07 11:52:08 +00:00
tests feat: IO.FS.Metadata.numLinks (#12277) 2026-02-09 14:28:56 +00:00
.gitattributes
.gitignore
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt chore: reformat all cmake files (#12218) 2026-01-28 18:23:08 +00:00
CMakePresets.json
CODEOWNERS
CONTRIBUTING.md
flake.lock
flake.nix
lean-toolchain
lean.code-workspace
LICENSE
LICENSES
README.md
RELEASES.md

This is the repository for Lean 4.

About

Installation

See Install Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.