PathTreeProperty enum

class pathtreelib.PathTreeProperty(value)

Enumerator class for the tree properties.

DEPTH = '<depth>'

the distance from the note to the root.

Type:

Depth (of a node)

HEIGHT = '<height>'

the minimal distance from the note to a leaf.

Type:

Height (of a node)

NUM_OF_DIRECTORIES = '<num_dir>'

the number of directory in the subtree.

Type:

No. of Directory (of a subtree)

NUM_OF_FILES = '<num_file>'

the number of files in the subtree.

Type:

No. of Files (of a subtree)

NUM_OF_INODES = '<num_inode>'

the number of inner nodes in the subtree.

Type:

No. of inner nodes (of a subtree)

NUM_OF_LEAVES = '<num_leaves>'

the number of leaves in the subtree.

Type:

No. of leaves (of a subtree)

NUM_OF_NODES = '<num_nodes>'

the number of nodes in a subtree.

Type:

No. of nodes (of a subtree)

PRUNED = '<pruned>'

true if the node has been virtually removed from the tree, false otherwise.

Type:

Pruned status (of a node)

SIMPLE_SIZE = '<simple_size>'

the sum of the byte occupied by all the files in the subtree, expressed in KB, …, TB accordingly.

Type:

Size (of a subtree) in simplified format

SIZE = '<size>'

the sum of the byte occupied by all the files in the subtree.

Type:

Size (of a subtree)