This commit is contained in:
Joey Hess 2012-07-17 17:22:00 -04:00
parent 9ab9ef3ebd
commit b702bae950

View file

@ -139,7 +139,8 @@ transferFile (Transfer direction u key) r = gitAnnexTransferDir r
{- The transfer lock file corresponding to a given transfer info file. -}
transferLockFile :: FilePath -> FilePath
transferLockFile infofile = "lck." ++ infofile
transferLockFile infofile = let (d,f) = splitFileName infofile in
combine d ("lck." ++ f)
{- Parses a transfer information filename to a Transfer. -}
parseTransferFile :: FilePath -> Maybe Transfer