Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2015 Changes in this version + var ErrMalformed = errors.New("malformed file") — linux/amd64 + var ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") + func LUtimesNano(path string, ts []syscall.Timespec) error + func Lgetxattr(path string, attr string) ([]byte, error) + func Lsetxattr(path string, attr string, data []byte, flags int) error + func Mkdev(major int64, minor int64) uint32 + func Mknod(path string, mode uint32, dev int) error + func Umask(newmask int) (oldmask int, err error) + func UtimesNano(path string, ts []syscall.Timespec) error + type MemInfo struct + MemFree int64 + MemTotal int64 + SwapFree int64 + SwapTotal int64 + func ReadMemInfo() (*MemInfo, error) + type Stat struct + func Lstat(path string) (*Stat, error) + func (s Stat) GetLastModification() syscall.Timespec + func (s Stat) Gid() uint32 + func (s Stat) Mode() uint32 + func (s Stat) Mtim() syscall.Timespec + func (s Stat) Rdev() uint64 + func (s Stat) Size() int64 + func (s Stat) Uid() uint32