mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00
17 lines
364 B
Go
17 lines
364 B
Go
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"`
|
|
}
|