hashed-storage-0.3: Hashed file storage support code.Source codeContentsIndex
Storage.Hashed.AnchoredPath
Contents
Unsafe functions.
Synopsis
newtype Name = Name ByteString
newtype AnchoredPath = AnchoredPath [Name]
appendPath :: AnchoredPath -> Name -> AnchoredPath
anchorPath :: FilePath -> AnchoredPath -> FilePath
isPrefix :: AnchoredPath -> AnchoredPath -> Bool
parent :: AnchoredPath -> AnchoredPath
parents :: AnchoredPath -> [AnchoredPath]
catPaths :: AnchoredPath -> AnchoredPath -> AnchoredPath
nameToFilePath :: Name -> FilePath
nameFromFilePath :: FilePath -> Name
floatBS :: ByteString -> AnchoredPath
anchorBS :: AnchoredPath -> ByteString
Documentation
newtype Name Source
Constructors
Name ByteString
show/hide Instances
newtype AnchoredPath Source
Constructors
AnchoredPath [Name]
show/hide Instances
appendPath :: AnchoredPath -> Name -> AnchoredPathSource
Append an element to the end of a path.
anchorPath :: FilePath -> AnchoredPath -> FilePathSource
Take a root directory and an anchored path and produce a full path.
isPrefix :: AnchoredPath -> AnchoredPath -> BoolSource
parent :: AnchoredPath -> AnchoredPathSource
parents :: AnchoredPath -> [AnchoredPath]Source
catPaths :: AnchoredPath -> AnchoredPath -> AnchoredPathSource
Unsafe functions.
nameToFilePath :: Name -> FilePathSource
nameFromFilePath :: FilePath -> NameSource
floatBS :: ByteString -> AnchoredPathSource
anchorBS :: AnchoredPath -> ByteStringSource
Produced by Haddock version 2.4.2