Skip to main content

Crate neco_filetree

Crate neco_filetree 

Source

Structs§

FileTreeNode
Public runtime-facing file tree node shape.
FlatFileTreeRow
One flattened row derived from a file tree snapshot.
RevealPlan
Expansion instructions needed to reveal a target path.

Enums§

DirectoryMaterialization
Whether a directory node is fully materialized or only partially known.
FileTreeNodeKind
Tree node kind used by runtime-facing file tree helpers.

Functions§

find_node_by_path
Find one node by exact path under the given root.
flatten_file_tree
Flatten a tree into visible rows under the current collapsed set.
merge_subtree
Monotonic merge: recursively merge the matching subtree, preserving existing deeper children and sibling order. File nodes are replaced directly.
reveal_plan_for_path
Build the ancestor expansion plan needed to reveal one target path.