Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a8m/tree
/ types & classes
Types & classes
11 in github.com/a8m/tree
⨍
Functions
58
◇
Types & classes
11
Struct
ByFunc
sort.go:8
Struct
FS
FS uses the system filesystem
ostree/ostree.go:11
Interface
Fs
To use this package programmatically, you must implement this interface. For example: PTAL on 'cmd/tree/tree.go'
node.go:34
Struct
MockFs
Mock filesystem
node_test.go:43
Struct
Node
Node represent some node in the tree contains FileInfo, and its childs
node.go:19
TypeAlias
Nodes
List of nodes
node.go:29
Struct
Options
Options store the configuration for specific tree. Note, that 'Fs', and 'OutFile' are required (OutFile can be os.Stdout).
node.go:41
Struct
Out
Mock output file
node_test.go:81
FuncType
SortFunc
func(f1, f2 os.FileInfo) bool
sort.go:17
Struct
file
Mock file/FileInfo
node_test.go:12
Struct
treeTest
node_test.go:104