convert from readFileStrict
More of these still to convert, but need to be careful of newline translation.
This commit is contained in:
parent
c5fe457e01
commit
60d0dc9c76
3 changed files with 15 additions and 12 deletions
|
@ -204,7 +204,7 @@ writeLog1 file ls = viaTmp F.writeFile
|
|||
|
||||
readLog1 :: FilePath -> IO [LogLine]
|
||||
readLog1 file = catchDefaultIO [] $
|
||||
parseLog . encodeBL <$> readFileStrict file
|
||||
parseLog <$> F.readFile (toOsPath (toRawFilePath file))
|
||||
|
||||
lookupKey1 :: FilePath -> Annex (Maybe (Key, Backend))
|
||||
lookupKey1 file = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue