Filesystem
The pyTooling.Filesystem
package provides fast and simple access to directory statistics like file sizes,
accumulated directory sizes, symlinks, hardlinks, etc.
Features
Scan a directory and its subdirectories for files and create a in-memory filesystem view (directories, files, symbolic links, hard links).
Identify filenames pointing to the same file (a.k.a hard links).
Compute directory sizes by aggregating file sizes.
Missing Features
tbd
Planned Features
tbd
Out of Scope
tbd
By Feature
Danger
Accessing internal fields of a node is strongly not recommended for users, as it might lead to a corrupted tree data structure. If a power-user wants to access these fields, feel free to use them for achieving a higher performance, but you got warned 😉.
Root Reference
tbd
Parent Reference
tbd
Size
tbd
Competing Solutions
Directory Tree
Source: Directory Tree
Todo
FILESYS::Directory-Tree write comparison here.
Disadvantages
…
Standoff
…
Advantages
…
folderstats
Source: folderstats
Todo
FILESYS::folderstats write comparison here.
Disadvantages
…
Standoff
…
Advantages
…
dutree
Source: dutree
Todo
FILESYS::dutree write comparison here.
Disadvantages
…
Standoff
…
Advantages
…