filetree

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNodeTree

func BuildNodeTree(n *Node, prefix string, isLast bool, curr *Node) string

Types

type Node

type Node struct {
	Name        string
	Depth       int
	Parent      *Node
	Children    []*Node
	IsDirectory bool
	IsExpanded  bool
}

func CreateTree

func CreateTree() (*Node, error)

func FlattenVisibleTree

func FlattenVisibleTree(root *Node) []*Node

Jump to

Keyboard shortcuts

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