add file-io to build-depends when building with OsPath flag
Partly converted code to use functions from it, though more remain unconverted. Most of withFile and openFile now use it.
This commit is contained in:
parent
85efc13e3a
commit
1faa3af9cd
20 changed files with 178 additions and 68 deletions
|
@ -79,7 +79,7 @@ logMigration old new = do
|
|||
-- | Commits a migration to the git-annex branch.
|
||||
commitMigration :: Annex ()
|
||||
commitMigration = do
|
||||
logf <- fromRawFilePath <$> fromRepo gitAnnexMigrateLog
|
||||
logf <- fromRepo gitAnnexMigrateLog
|
||||
lckf <- fromRepo gitAnnexMigrateLock
|
||||
nv <- liftIO $ newTVarIO (0 :: Integer)
|
||||
g <- Annex.gitRepo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue