SubPath

Path within a tree (subvolume)

Members

Mixins

__anonymous
mixin SimplePath
Undocumented in source.
__anonymous
mixin PathCommon
Undocumented in source.
__anonymous
mixin PathCmp
Undocumented in source.

Mixed In Members

From mixin SimplePath

NameString
alias NameString = InlineString!23
Undocumented in source.
parent
typeof(this)* parent;

Parent directory

firstChild
typeof(this)* firstChild;

Directory items, if any

nextSibling
typeof(this)* nextSibling;

Next item in the parent directory, if any

name
NameString name;

Base name Names prefixed with a NUL character indicate "special" nodes, which do not correspond to a filesystem path.

this
this(typeof(this)* parent, NameString name)
Undocumented in source.
opBinaryRight
inout(typeof(this)*) opBinaryRight(char[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(typeof(this)) opIndex(char[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
appendName
typeof(this)* appendName(char[] name)

Append a single path segment to this one.

appendPath
typeof(this)* appendPath(char[] path)
typeof(this)* appendPath(SubPath* path)
typeof(this)* appendPath(GlobalPath* path)

Append a normalized relative string path to this one.

range
auto range()

Return an iterator for path fragments. Iterates from inner-most to top level.

toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
humanName
string humanName()
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin PathCommon

commonPrefix
typeof(this)* commonPrefix(typeof(this)*[] paths)

Returns the common prefix of paths. Assumes that if two pointers are different, they point at different paths. Destructively mutates paths as scratch space.

From mixin PathCmp

opCmp
int opCmp(typeof(this) b)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta