Documentation ¶
Index ¶
- type PlatformStat
- func (s PlatformStat) ATime() time.Time
- func (s PlatformStat) BlockSize() int64
- func (s PlatformStat) Blocks() int64
- func (s PlatformStat) CTime() time.Time
- func (s PlatformStat) Gid() uint32
- func (s PlatformStat) Group() string
- func (s PlatformStat) INode() uint64
- func (s PlatformStat) Links() uint64
- func (s PlatformStat) ModTime() time.Time
- func (s PlatformStat) Size() int64
- func (s PlatformStat) Uid() uint32
- func (s PlatformStat) Username() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlatformStat ¶
type PlatformStat struct {
// contains filtered or unexported fields
}
&{ Dev:16777220 Mode:33188 Nlink:1 Ino:58059237 Uid:501 Gid:20 Rdev:0 Pad_cgo_0: [0 0 0 0] Atimespec:{Sec:1603563201 Nsec:115934498} Mtimespec:{Sec:1603387176 Nsec:439532114} Ctimespec:{Sec:1603387176 Nsec:439532114} Birthtimespec:{Sec:1603387134 Nsec:447378890} Size:11358 Blocks:24 Blksize:4096 Flags:0 Gen:0 Lspare:0 Qspare:[0 0] }
func NewPlatformStat ¶
func NewPlatformStat(f os.FileInfo) PlatformStat
func (PlatformStat) ATime ¶
func (s PlatformStat) ATime() time.Time
func (PlatformStat) BlockSize ¶
func (s PlatformStat) BlockSize() int64
func (PlatformStat) Blocks ¶
func (s PlatformStat) Blocks() int64
func (PlatformStat) CTime ¶
func (s PlatformStat) CTime() time.Time
func (PlatformStat) Gid ¶
func (s PlatformStat) Gid() uint32
func (PlatformStat) Group ¶
func (s PlatformStat) Group() string
func (PlatformStat) INode ¶
func (s PlatformStat) INode() uint64
func (PlatformStat) Links ¶
func (s PlatformStat) Links() uint64
func (PlatformStat) ModTime ¶
func (s PlatformStat) ModTime() time.Time
func (PlatformStat) Size ¶
func (s PlatformStat) Size() int64
func (PlatformStat) Uid ¶
func (s PlatformStat) Uid() uint32
func (PlatformStat) Username ¶
func (s PlatformStat) Username() string
Click to show internal directories.
Click to hide internal directories.