Path
Types
Constructors
For each type in this module: inductive types list their declared constructors; opaque types list any local function whose name starts with mk and which returns a value of that type.
def mk (s: {x : String | x != ""}) : Path
Functions
def mk (s: {x : String | x != ""}) : Path
def home (_: Unit) : Path
def toString (p: Path) : String
def parent (p: Path) : Path
def name (p: Path) : String
def stem (p: Path) : String
def suffix (p: Path) : String
def join (p: Path) (segment: {s : String | s != ""}) : Path
def withSuffix (p: Path) (newSuffix: String) : Path
def absolute (p: Path) : Path
def resolve (p: Path) : Path
def exists (p: Path) : Bool
def isFile (p: Path) : Bool
def isDir (p: Path) : Bool
def isAbsolute (p: Path) : Bool
def isRelative (p: Path) : Bool
def read (p: Path) : String
def write (p: Path) (content: String) : Unit
def appendTo (p: Path) (content: String) : Unit
def mkdir (p: Path) : Unit
def mkdirAll (p: Path) : Unit
def listDir (p: Path) : Array String
def glob (p: Path) (pattern: {s : String | s != ""}) : Array Path
def remove (p: Path) : Unit
def removeDir (p: Path) : Unit
def removeAll (p: Path) : Unit
def rename (p: Path) (dst: Path) : Path
def copy (src: Path) (dst: Path) : Unit