about summary refs log tree commit diff
path: root/src/structs/item.go
blob: 2dfa614ce9d5eb3f73e2f42a30b48709b45d11b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
	Download     bool
	Viewable     bool
	SaltedHash   string
}