hsdev-0.3.3.8: 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

Instances
Paths FilePath Source # 
Instance details

Defined in System.Directory.Paths

Paths Path Source # 
Instance details

Defined in System.Directory.Paths

Paths PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

Paths PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

Paths Sandbox Source # 
Instance details

Defined in HsDev.Project.Types

Paths Info Source # 
Instance details

Defined in HsDev.Project.Types

Paths Test Source # 
Instance details

Defined in HsDev.Project.Types

Paths Executable Source # 
Instance details

Defined in HsDev.Project.Types

Paths Library Source # 
Instance details

Defined in HsDev.Project.Types

Paths TargetInfo Source # 
Instance details

Defined in HsDev.Project.Types

Paths ProjectDescription Source # 
Instance details

Defined in HsDev.Project.Types

Paths Project Source # 
Instance details

Defined in HsDev.Project.Types

Paths ModuleLocation Source # 
Instance details

Defined in HsDev.Symbols.Location

Paths TargetFilter Source # 
Instance details

Defined in HsDev.Server.Types

Paths FileSource Source # 
Instance details

Defined in HsDev.Server.Types

Paths Command Source # 
Instance details

Defined in HsDev.Server.Types

Paths (Note a) Source # 
Instance details

Defined in HsDev.Tools.Types

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

normalize :: Paths a => a -> a Source #

Normalize paths, with workaround for Windows drives