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