Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { Name string `json:"name"` Size int64 `json:"size"` Mode os.FileMode `json:"mode"` ModTime time.Time `json:"mod_time"` IsDir bool `json:"is_dir"` }
FileInfo is a struct created from os.FileInfo interface for serialization.
type Node ¶
type Node struct { FullPath string `json:"path"` Info *FileInfo `json:"info"` Children []*Node `json:"children"` Parent *Node `json:"-"` }
Node represents a node in a directory tree.
Click to show internal directories.
Click to hide internal directories.