Versions in this module Expand all Collapse all v0 v0.19.4 Nov 27, 2015 Changes in this version + var ErrNotSupportedPlatform = errors.New("platform and architecture is not supported") + func Chtimes(name string, atime time.Time, mtime time.Time) error + func CreateEvent(eventAttributes *syscall.SecurityAttributes, manualReset bool, ...) (handle syscall.Handle, err error) — windows/amd64 + func IsAbs(path string) bool + 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 MkdirAll(path string, perm os.FileMode) error + func Mknod(path string, mode uint32, dev int) error + func OpenEvent(desiredAccess uint32, inheritHandle bool, name string) (handle syscall.Handle, err error) — windows/amd64 + func PulseEvent(handle syscall.Handle) (err error) — windows/amd64 + func ResetEvent(handle syscall.Handle) (err error) — windows/amd64 + func SetEvent(handle syscall.Handle) (err error) — windows/amd64 + func Umask(newmask int) (oldmask int, err error) + type MemInfo struct + MemFree int64 + MemTotal int64 + SwapFree int64 + SwapTotal int64 + func ReadMemInfo() (*MemInfo, error) + type StatT struct + func FromStatT(s *syscall.Stat_t) (*StatT, error) + func Lstat(path string) (*StatT, error) + func Stat(path string) (*StatT, error) + func (s StatT) GID() uint32 + func (s StatT) GetLastModification() syscall.Timespec + func (s StatT) IsDir() bool + func (s StatT) ModTime() time.Time + func (s StatT) Mode() os.FileMode + func (s StatT) Mode() uint32 + func (s StatT) Mtim() syscall.Timespec + func (s StatT) Name() string + func (s StatT) Rdev() uint64 + func (s StatT) Size() int64 + func (s StatT) UID() uint32