convert from readFileStrict

More of these still to convert, but need to be careful of newline
translation.
This commit is contained in:
Joey Hess 2025-01-22 14:43:37 -04:00
parent c5fe457e01
commit 60d0dc9c76
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 15 additions and 12 deletions

View file

@ -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