af3a25ee03
The most common way for a mapping to be stale is when a file was deleted, or renamed. Nothing updates the mappings for deletions yet. But they can also become stale in other ways. For example a file can be modified. So, the mapping is not trusted to be consistent. When we get a key, only replace symlinks that still point to that key with its content. When we drop a key, only put back symlinks for files that still have the direct mode content. |
||
---|---|---|
.. | ||
Content | ||
Branch.hs | ||
BranchState.hs | ||
CatFile.hs | ||
CheckAttr.hs | ||
Content.hs | ||
Direct.hs | ||
Exception.hs | ||
Journal.hs | ||
LockPool.hs | ||
Perms.hs | ||
Queue.hs | ||
Ssh.hs | ||
UUID.hs | ||
Version.hs | ||
Wanted.hs |