Versions in this module Expand all Collapse all v1 v1.1.0 Nov 26, 2022 Changes in this version + const ERROR_INSUFFICIENT_BUFFER — windows/amd64 + const OWNER_SECURITY_INFORMATION — windows/amd64 + type FileInfo interface + PathAbs func() string + type LocalPlatform struct + func New() *LocalPlatform + func (*LocalPlatform) DeviceNumbers(info FileInfo) (string, error) + func (*LocalPlatform) EmptyFileInfoSys() any + func (*LocalPlatform) FileATime(fileInfo FileInfo) *time.Time + func (*LocalPlatform) FileATime(info FileInfo) *time.Time + func (*LocalPlatform) FileBlocks(fileInfo FileInfo) int64 + func (*LocalPlatform) FileBlocks(info FileInfo) int64 + func (*LocalPlatform) FileCTime(fileInfo FileInfo) *time.Time + func (*LocalPlatform) FileCTime(info FileInfo) *time.Time + func (*LocalPlatform) FileInode(fileInfo FileInfo) (uint64, error) + func (*LocalPlatform) FileInode(info FileInfo) (uint64, error) + func (*LocalPlatform) NumberOfHardLinks(fileInfo FileInfo) (uint64, error) + func (*LocalPlatform) NumberOfHardLinks(info FileInfo) (uint64, error) + func (*LocalPlatform) OutputAndError(colors bool) (io.Writer, io.Writer) + func (*LocalPlatform) OwnerAndGroupIDs(fileInfo FileInfo) (*OwnerGroup, error) + func (*LocalPlatform) OwnerAndGroupNames(fileInfo FileInfo) (*OwnerGroup, error) + func (*LocalPlatform) OwnerAndGroupNames(info FileInfo) (*OwnerGroup, error) + func (*LocalPlatform) RootUserName() string + func (*LocalPlatform) SystemUserNames() []string + func (*LocalPlatform) UserName() string + func (f *LocalPlatform) OwnerAndGroupIDs(info FileInfo) (*OwnerGroup, error) + type OwnerGroup struct + Group string + Owner string + type PlatformError struct + Msg string + Operation string + Path string + func (e *PlatformError) Error() string + func (e *PlatformError) GetPath() string v1.0.0 Nov 5, 2022 Changes in this version + type LocalFilePlatform struct + func (*LocalFilePlatform) DeviceNumbers(absPath string) (string, error) + func (*LocalFilePlatform) EmptyFileInfoSys() any + func (*LocalFilePlatform) FileATime(fileInfo fs.FileInfo) *time.Time + func (*LocalFilePlatform) FileBlocks(fileInfo fs.FileInfo) int64 + func (*LocalFilePlatform) FileCTime(fileInfo fs.FileInfo) *time.Time + func (*LocalFilePlatform) FileInode(fileInfo fs.FileInfo) uint64 + func (*LocalFilePlatform) NumberOfHardLinks(fileInfo fs.FileInfo) uint64 + func (*LocalFilePlatform) OwnerAndGroupIDs(fileInfo fs.FileInfo) (string, string) + func (*LocalFilePlatform) OwnerAndGroupNames(fileInfo fs.FileInfo) (string, string) + func (f *LocalFilePlatform) OwnerAndGroupIDs(fileInfo fs.FileInfo) (string, string)