Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirsAndSymlinksAsDirs ¶
DirsAndSymlinksasDirs threat symlinks that are dirs, as dirs, and follow them.
Types ¶
type Dir ¶
A Filesystem entry, we store, the node name and Their parents. We only need this info, for later build search and comparasions.. Also we store only the current dir name... this way, when we traverse the list, searching, we can get better results.. Given a path lik /asdf/1/2/asdf we store each segment
type DirList ¶
type DirList struct {
Length int
List []Dir
MaxDepth int
PathSelect PathSelectFn
}
DirList is the main object..
func NewDirList ¶
func NewDirList() *DirList
func (*DirList) Get ¶
Traverses Dirlist, and returns a File object for a given name and depth if depth == -1 returns the first ocurrence of name, without matching depth
type PathSelectFn ¶
Path selector, is a func for determining if a given path is choosed to be on the index
Click to show internal directories.
Click to hide internal directories.