more OsPath conversion

Sponsored-by: Nicholas Golder-Manning
This commit is contained in:
Joey Hess 2025-01-29 11:53:20 -04:00
parent 0376bc5ee0
commit 27305042f3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
24 changed files with 180 additions and 153 deletions

View file

@ -8,7 +8,7 @@
module Types.KeySource where
import Utility.InodeCache
import System.FilePath.ByteString (RawFilePath)
import Utility.OsPath
{- When content is in the process of being ingested into the annex,
- and a Key generated from it, this data type is used.
@ -23,8 +23,8 @@ import System.FilePath.ByteString (RawFilePath)
- files that may be made while they're in the process of being ingested.
-}
data KeySource = KeySource
{ keyFilename :: RawFilePath
, contentLocation :: RawFilePath
{ keyFilename :: OsPath
, contentLocation :: OsPath
, inodeCache :: Maybe InodeCache
}
deriving (Show)