Skip to main content

stack_line

Function stack_line 

Source
pub fn stack_line(branch: &str) -> Result<Vec<String>>
Expand description

Every branch in the stack containing branch, parent-first: the line from the stack bottom up through branch, plus everything above it. Sibling stacks that share only the trunk are left out - they branch off the trunk separately, not through branch. The trunk itself is excluded; an unanchored root stays in (path_from_root keeps it).