Documentation ¶
Index ¶
- type Chunk
- type FileInfo
- func (f FileInfo) Dev() uint64
- func (f FileInfo) Gid() uint64
- func (fileinfo *FileInfo) HumanSize() string
- func (f FileInfo) Ino() uint64
- func (f FileInfo) IsDir() bool
- func (f FileInfo) ModTime() time.Time
- func (f FileInfo) Mode() os.FileMode
- func (f FileInfo) Name() string
- func (f FileInfo) Nlink() uint16
- func (f FileInfo) Size() int64
- func (f FileInfo) Sys() any
- func (f FileInfo) Uid() uint64
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { Lname string `json:"Name" msgpack:"Name"` Lsize int64 `json:"Size" msgpack:"Size"` Lmode fs.FileMode `json:"Mode" msgpack:"Mode"` LmodTime time.Time `json:"ModTime" msgpack:"ModTime"` Ldev uint64 `json:"Dev" msgpack:"Dev"` Lino uint64 `json:"Ino" msgpack:"Ino"` Luid uint64 `json:"Uid" msgpack:"Uid"` Lgid uint64 `json:"Gid" msgpack:"Gid"` Lnlink uint16 `json:"Nlink" msgpack:"Nlink"` }
func FileInfoFromStat ¶
func NewFileInfo ¶
Click to show internal directories.
Click to hide internal directories.