Operations on file names.
- data AbsolutePath
- filePath :: AbsolutePath -> FilePath
- mkAbsolute :: FilePath -> AbsolutePath
- absolute :: FilePath -> IO AbsolutePath
- (===) :: FilePath -> FilePath -> IO Bool
- tests :: IO Bool
Documentation
data AbsolutePath Source
mkAbsolute :: FilePath -> AbsolutePathSource
Constructs AbsolutePath
s.
Precondition: The path must be absolute.
absolute :: FilePath -> IO AbsolutePathSource
Makes the path absolute.
This function raises an __IMPOSSIBLE__
error if
canonicalizePath
does not return an absolute path.