btdu.paths

Path manipulation and storage

Members

Aliases

InlineString
alias InlineString(size_t size) = InlineArr!(immutable(char), size)

Inline string type.

Enums

SampleType
enum SampleType
Undocumented in source.

Functions

skipOverNul
bool skipOverNul(C[] str)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

PathCmp
mixintemplate PathCmp()

Implements comparison for linked-list-like path structures. Requires PathCommon and a compareContents definition.

PathCommon
mixintemplate PathCommon()

Common operations for linked-list-like path structures

SimplePath
mixintemplate SimplePath()

Common definitions for a deduplicated trie for paths.

Structs

BrowserPath
struct BrowserPath

Browser path (GUI hierarchy)

GlobalPath
struct GlobalPath

Global path (spanning multiple trees) This is to allow efficiently representing paths where the prefix (subvolume path) varies, e.g.: - /@root/usr/lib/libfoo.so.1.0.0 - /backups/@root-20200101000000/usr/lib/libfoo.so.1.0.0 - /backups/@root-20200102000000/usr/lib/libfoo.so.1.0.0 etc. Here we can store /backups/@root-20200102000000 etc. as one SubPath and /usr/lib/libfoo.so.1.0.0 as another, with the GlobalPath representing a concatenation of the two.

SubPath
struct SubPath

Path within a tree (subvolume)

Unions

InlineArr
union InlineArr(T, size_t size)
Undocumented in source.

Meta