stat

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL