Reuse fixed file identity within a live alias scan

This commit is contained in:
gloamxun committed 2026-11-19 22:02:53 +08:00
1 parent 1c02d8af25
commit 24ea6ef7ee
4 files changed
+168 -32

No files matched your search

@@ -174,7 +174,7 @@ impl ProjectSnapshot {
pub fn generated(&self) -> impl Iterator<Item = &Path> {
self.generated.iter().map(PathBuf::as_path)
}
pub fn immutable_paths(&self) -> impl Iterator<Item = &Path> {
pub fn immutable_paths(&self) -> impl Iterator<Item = &Path> + Clone {
self.files.keys().map(PathBuf::as_path)
}
pub fn protects_artifact(&self, path: &Path) -> bool {