nxt.path

Members

Functions

baseName
FileName baseName(FilePath a)
DirName baseName(DirPath a)
DirName baseName(URL a)
FileName baseName(FileURL a)
DirName baseName(DirURL a)

Get basename of a.

buildNormalizedPath
FilePath buildNormalizedPath(DirPath a, FilePath b)
DirPath buildNormalizedPath(DirPath a, DirPath b)
DirPath buildNormalizedPath(DirPath a, DirName b)
FilePath buildNormalizedPath(DirPath a, FileName b)

Build path a/b.

buildPath
FilePath buildPath(DirPath a, FilePath b)
DirPath buildPath(DirPath a, DirPath b)
DirPath buildPath(DirPath a, DirName b)
FilePath buildPath(DirPath a, FileName b)

Build path a/b.

exists
bool exists(Path a)
bool exists(FilePath a)
bool exists(DirPath a)
bool exists(FileName a)
bool exists(DirName a)

Check if a exists.

expandTilde
FilePath expandTilde(FilePath a)
DirPath expandTilde(DirPath a)

Expand tilde in a.

Structs

DirName
struct DirName

Directory (local) name.

DirPath
struct DirPath

Directory path. See: SUMO:ComputerDirectory.

DirURL
struct DirURL

Directory URL.

ExePath
struct ExePath

Execute file path.

FileName
struct FileName

File (local) name.

FilePath
struct FilePath

(Regular) File path. See: https://hackage.haskell.org/package/filepath-1.5.0.0/docs/System-FilePath.html#t:FilePath

FileURL
struct FileURL

File URL.

FileURLOffset
struct FileURLOffset

File Offset URL.

FileURLRegion
struct FileURLRegion

File Region URL.

Path
struct Path

Path.

RdPath
struct RdPath

Written (input) path.

URL
struct URL

URL.

WrPath
struct WrPath

Written (output) path.

See Also

dmd.root.filename

Meta