aboutsummaryrefslogtreecommitdiff
path: root/libpod/define/fileinfo.go
blob: eec99e3005954d7057af10f8b68212882378b2a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package define

import (
	"os"
	"time"
)

// FileInfo describes the attributes of a file or directory.
type FileInfo struct {
	Name       string      `json:"name"`
	Size       int64       `json:"size"`
	Mode       os.FileMode `json:"mode"`
	ModTime    time.Time   `json:"mtime"`
	IsDir      bool        `json:"isDir"`
	LinkTarget string      `json:"linkTarget"`
}