diff options
author | 2015-12-09 17:00:37 -0400 | |
---|---|---|
committer | 2015-12-09 17:00:37 -0400 | |
commit | 76ccac53916d308aa4806d38bb8cfb6a9d1f9081 (patch) | |
tree | 10f7618585df73c335c459f9562b04f37a7eb03f /Locations.hs | |
parent | b5c8ba7db3ea2eb4f1cd28e49cadb5fd348ca738 (diff) |
add inode cache to the db
Renamed the db to keys, since it is various info about a Keys.
Dropping a key will update its pointer files, as long as their content can
be verified to be unmodified. This falls back to checksum verification, but
I want it to use an InodeCache of the key, for speed. But, I have not made
anything populate that cache yet.
Diffstat (limited to 'Locations.hs')
-rw-r--r-- | Locations.hs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Locations.hs b/Locations.hs index 6082957c7..200297321 100644 --- a/Locations.hs +++ b/Locations.hs @@ -29,8 +29,8 @@ module Locations ( gitAnnexBadDir, gitAnnexBadLocation, gitAnnexUnusedLog, - gitAnnexAssociatedFilesDb, - gitAnnexAssociatedFilesDbLock, + gitAnnexKeysDb, + gitAnnexKeysDbLock, gitAnnexFsckState, gitAnnexFsckDbDir, gitAnnexFsckDbLock, @@ -239,13 +239,13 @@ gitAnnexBadLocation key r = gitAnnexBadDir r </> keyFile key gitAnnexUnusedLog :: FilePath -> Git.Repo -> FilePath gitAnnexUnusedLog prefix r = gitAnnexDir r </> (prefix ++ "unused") -{- .git/annex/map/ contains a database for the associated files map -} -gitAnnexAssociatedFilesDb :: Git.Repo -> FilePath -gitAnnexAssociatedFilesDb r = gitAnnexDir r </> "map" +{- .git/annex/keys/ contains a database of information about keys. -} +gitAnnexKeysDb :: Git.Repo -> FilePath +gitAnnexKeysDb r = gitAnnexDir r </> "keys" -{- Lock file for the associated files map database. -} -gitAnnexAssociatedFilesDbLock :: Git.Repo -> FilePath -gitAnnexAssociatedFilesDbLock r = gitAnnexAssociatedFilesDb r ++ "lck" +{- Lock file for the keys database. -} +gitAnnexKeysDbLock :: Git.Repo -> FilePath +gitAnnexKeysDbLock r = gitAnnexKeysDb r ++ "lck" {- .git/annex/fsck/uuid/ is used to store information about incremental - fscks. -} |