associated files database
This commit is contained in:
parent
63c466449f
commit
a6e5ee0d0e
3 changed files with 105 additions and 1 deletions
10
Locations.hs
10
Locations.hs
|
@ -29,6 +29,8 @@ module Locations (
|
|||
gitAnnexBadDir,
|
||||
gitAnnexBadLocation,
|
||||
gitAnnexUnusedLog,
|
||||
gitAnnexAssociatedFilesDb,
|
||||
gitAnnexAssociatedFilesDbLock,
|
||||
gitAnnexFsckState,
|
||||
gitAnnexFsckDbDir,
|
||||
gitAnnexFsckDbLock,
|
||||
|
@ -237,6 +239,14 @@ 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"
|
||||
|
||||
{- Lock file for the associated files map database. -}
|
||||
gitAnnexAssociatedFilesDbLock :: Git.Repo -> FilePath
|
||||
gitAnnexAssociatedFilesDbLock r = gitAnnexAssociatedFilesDb r ++ "lck"
|
||||
|
||||
{- .git/annex/fsck/uuid/ is used to store information about incremental
|
||||
- fscks. -}
|
||||
gitAnnexFsckDir :: UUID -> Git.Repo -> FilePath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue