hsdev-0.3.1.0: Haskell development library

Safe HaskellNone
LanguageHaskell98

System.Directory.Paths

Synopsis

Documentation

type Path = Text Source #

Takes much less memory than FilePath

relPathTo :: Path -> Path -> Path Source #

Make path relative

isParent :: Path -> Path -> Bool Source #

Is one path parent of another

class Paths a where Source #

Something with paths inside

Minimal complete definition

paths

canonicalize :: Paths a => a -> IO a Source #

Canonicalize all paths

absolutise :: Paths a => Path -> a -> a Source #

Absolutise paths

relativise :: Paths a => Path -> a -> a Source #

Relativise paths