Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeDirectory = "directory" TypeRegular = "regular" TypeSymLink = "symlink" TypeHardLink = "hardlink" TypeNamedPipe = "namedpipe" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Directory ¶
type Directory struct { Entries []Entry `json:"entries"` // contains filtered or unexported fields }
type Entry ¶
type Entry struct { Name string `json:"name"` Mode string `json:"mode"` ModeOctal int `json:"mode_octal"` User string `json:"user"` Group string `json:"group"` Uid uint32 `json:"uid"` Gid uint32 `json:"gid"` Type string `json:"type"` Size int64 `json:"size"` ModifyTime int64 `json:"modify-time"` ModTime time.Time }
Click to show internal directories.
Click to hide internal directories.