about summary refs log tree commit diff
path: root/src/structs/item.go
blob: 085ce5ce1774c3699cffd91f468847983f171579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package structs

// Items defines multiple files or directories
type Items []Item

// Item describes a file or directory
type Item struct {
	IsDir        bool
	Name         string
	HumanSize    int64
	HumanModTime string
	IsSymlink    bool
	URL          string
	Size         string
}