lib

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTree

func CreateTree(node *types.Node, root string, prefix string, args *types.Args) error

func ParseTree

func ParseTree(treeOutput string) (*types.Node, error)

ParseTree parses the output of a `tree` command and returns the root node of the tree structure.

func PrintTree

func PrintTree(node *types.Node, prefix string) string

PrintTree recursively prints the tree structure for visualization.

func TouchFile

func TouchFile(node *types.Node, rootDir string, prefix string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL