filesystem-abstractions-0: A shared set of abstractions and types for representing filessytem data.

Safe HaskellNone
LanguageHaskell2010

System.Filesystem.PathComponent

Description

 
Synopsis

Documentation

isPathComponent :: ByteString -> Bool Source #

True when pathComponent will result in a Just

slashify :: PathComponent -> ByteString Source #

Add a trailing / unconditionally.

splitPathComponents :: MonadFail m => RawFilePath -> m [PathComponent] Source #

A version of splitDirectories for PathComponents.