remove now redundant function
This commit is contained in:
parent
752c389849
commit
c30557594e
2 changed files with 1 additions and 6 deletions
|
@ -106,7 +106,7 @@ journalDirty = do
|
||||||
- in the journal directory.
|
- in the journal directory.
|
||||||
-}
|
-}
|
||||||
journalFile :: RawFilePath -> Git.Repo -> RawFilePath
|
journalFile :: RawFilePath -> Git.Repo -> RawFilePath
|
||||||
journalFile file repo = gitAnnexJournalDir' repo P.</> S.concatMap mangle file
|
journalFile file repo = gitAnnexJournalDir repo P.</> S.concatMap mangle file
|
||||||
where
|
where
|
||||||
mangle c
|
mangle c
|
||||||
| P.isPathSeparator c = S.singleton underscore
|
| P.isPathSeparator c = S.singleton underscore
|
||||||
|
|
|
@ -63,7 +63,6 @@ module Annex.Locations (
|
||||||
gitAnnexFeedState,
|
gitAnnexFeedState,
|
||||||
gitAnnexMergeDir,
|
gitAnnexMergeDir,
|
||||||
gitAnnexJournalDir,
|
gitAnnexJournalDir,
|
||||||
gitAnnexJournalDir',
|
|
||||||
gitAnnexJournalLock,
|
gitAnnexJournalLock,
|
||||||
gitAnnexGitQueueLock,
|
gitAnnexGitQueueLock,
|
||||||
gitAnnexIndex,
|
gitAnnexIndex,
|
||||||
|
@ -432,10 +431,6 @@ gitAnnexJournalDir :: Git.Repo -> RawFilePath
|
||||||
gitAnnexJournalDir r =
|
gitAnnexJournalDir r =
|
||||||
P.addTrailingPathSeparator $ gitAnnexDir r P.</> "journal"
|
P.addTrailingPathSeparator $ gitAnnexDir r P.</> "journal"
|
||||||
|
|
||||||
gitAnnexJournalDir' :: Git.Repo -> RawFilePath
|
|
||||||
gitAnnexJournalDir' r =
|
|
||||||
P.addTrailingPathSeparator $ gitAnnexDir r P.</> "journal"
|
|
||||||
|
|
||||||
{- Lock file for the journal. -}
|
{- Lock file for the journal. -}
|
||||||
gitAnnexJournalLock :: Git.Repo -> RawFilePath
|
gitAnnexJournalLock :: Git.Repo -> RawFilePath
|
||||||
gitAnnexJournalLock r = gitAnnexDir r P.</> "journal.lck"
|
gitAnnexJournalLock r = gitAnnexDir r P.</> "journal.lck"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue