package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Oct 23, 2017
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Dir struct {
Path string `json:"path"`
Parent string `json:"parent"`
Contents []Item `json:"contents"`
}
Dir is directory struct.
ScanDir scans given directory and returns Dir struct.
type Item struct {
Name string `json:"name"`
Path string `json:"path"`
Size int `json:"size"`
Type ItemType `json:"type"`
}
Item is file or directory struct.
ItemType defines type of Item.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.