The file name including extension (if any) such as 'index.html'
The [[subDrirectories]] and [[files]] for a given path
The depth
of this path
The full directory path such as '/home/user/dir' or 'c:\path\dir'
The file extension (if any) such as '.html'
The files in the current path
The file name without extension (if any) such as 'index'
The parent
directory of the path
The normalized string
representation of the path
The root of the path such as '/' or 'c:'
The subdirectories of the path
and a path
builder
Get the diff for two paths
The path
to diff against
const first = flexi.path("some/common/and/unique/paths");
const second = flexi.path("some/common/with/other/paths");
const diff = first.diff(second);
//==> [ "and/unique/paths", "with/other/paths" ]
Checks if this path
equals another path
the path
to compare with
Optional
options: { options
Optional
ignoreOptional
options: Partial<ReadOptions>Writes the current path
to disk if possible
Optional
content: anyOptional
options: Partial<WriteOptions>Generated using TypeDoc
A flexible
path
builder and walker