Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Mac Malone 9a15df5e28
fix: IO.FS.removeFile should delete read-only files on Windows (#12282)
This PR fixes a platform inconsistency in `IO.FS.removeFile` where it
could not delete read-only files on Windows.

The implementation now uses `uv_fs_unlink` instead of `std::remove`, as
libuv can delete read-only files. The PR also fixes a inconsistency in
`IO_test.lean` where it would generate files in the wrong directory when
run interactively.

---------

Co-authored-by: Markus Himmel <markus@himmel-villmar.de>
2026-02-09 14:28:31 +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 fix: IO.FS.removeFile should delete read-only files on Windows (#12282) 2026-02-09 14:28:31 +00:00
stage0 chore: update stage0 2026-02-07 11:52:08 +00:00
tests fix: IO.FS.removeFile should delete read-only files on Windows (#12282) 2026-02-09 14:28:31 +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.