Versions in this module Expand all Collapse all v1 v1.1.0 Jun 6, 2023 Changes in this version + const O_DIRECTORY + const O_NOFOLLOW + const O_NONBLOCK + type DirFile struct + func (DirFile) IsAppend() bool + func (DirFile) IsDir() (bool, syscall.Errno) + func (DirFile) IsNonblock() bool + func (DirFile) PollRead(*time.Duration) (ready bool, errno syscall.Errno) + func (DirFile) Pread([]byte, int64) (int, syscall.Errno) + func (DirFile) Pwrite([]byte, int64) (int, syscall.Errno) + func (DirFile) Read([]byte) (int, syscall.Errno) + func (DirFile) Seek(int64, int) (int64, syscall.Errno) + func (DirFile) SetAppend(bool) syscall.Errno + func (DirFile) SetNonblock(bool) syscall.Errno + func (DirFile) Truncate(int64) syscall.Errno + func (DirFile) Write([]byte) (int, syscall.Errno) + type Dirent struct + Ino uint64 + Name string + Type fs.FileMode + func (d *Dirent) IsDir() bool + func (d *Dirent) String() string + type FS interface + Chmod func(path string, perm fs.FileMode) syscall.Errno + Chown func(path string, uid, gid int) syscall.Errno + Lchown func(path string, uid, gid int) syscall.Errno + Link func(oldPath, newPath string) syscall.Errno + Lstat func(path string) (Stat_t, syscall.Errno) + Mkdir func(path string, perm fs.FileMode) syscall.Errno + OpenFile func(path string, flag int, perm fs.FileMode) (File, syscall.Errno) + Readlink func(path string) (string, syscall.Errno) + Rename func(from, to string) syscall.Errno + Rmdir func(path string) syscall.Errno + Stat func(path string) (Stat_t, syscall.Errno) + String func() string + Symlink func(oldPath, linkName string) syscall.Errno + Truncate func(path string, size int64) syscall.Errno + Unlink func(path string) syscall.Errno + Utimens func(path string, times *[2]syscall.Timespec, symlinkFollow bool) syscall.Errno + type File interface + Chmod func(fs.FileMode) syscall.Errno + Chown func(uid, gid int) syscall.Errno + Close func() syscall.Errno + Datasync func() syscall.Errno + Ino func() (uint64, syscall.Errno) + IsAppend func() bool + IsDir func() (bool, syscall.Errno) + IsNonblock func() bool + PollRead func(timeout *time.Duration) (ready bool, errno syscall.Errno) + Pread func(buf []byte, off int64) (n int, errno syscall.Errno) + Pwrite func(buf []byte, off int64) (n int, errno syscall.Errno) + Read func(buf []byte) (n int, errno syscall.Errno) + Readdir func(n int) (dirents []Dirent, errno syscall.Errno) + Seek func(offset int64, whence int) (newOffset int64, errno syscall.Errno) + SetAppend func(enable bool) syscall.Errno + SetNonblock func(enable bool) syscall.Errno + Stat func() (Stat_t, syscall.Errno) + Sync func() syscall.Errno + Truncate func(size int64) syscall.Errno + Utimens func(times *[2]syscall.Timespec) syscall.Errno + Write func(buf []byte) (n int, errno syscall.Errno) + type Stat_t struct + Atim int64 + Ctim int64 + Dev uint64 + Gid uint32 + Ino uint64 + Mode fs.FileMode + Mtim int64 + Nlink uint64 + Size int64 + Uid uint32 + type UnimplementedFS struct + func (UnimplementedFS) Chmod(path string, perm fs.FileMode) syscall.Errno + func (UnimplementedFS) Chown(path string, uid, gid int) syscall.Errno + func (UnimplementedFS) Lchown(path string, uid, gid int) syscall.Errno + func (UnimplementedFS) Link(_, _ string) syscall.Errno + func (UnimplementedFS) Lstat(path string) (Stat_t, syscall.Errno) + func (UnimplementedFS) Mkdir(path string, perm fs.FileMode) syscall.Errno + func (UnimplementedFS) Open(name string) (fs.File, error) + func (UnimplementedFS) OpenFile(path string, flag int, perm fs.FileMode) (File, syscall.Errno) + func (UnimplementedFS) Readlink(path string) (string, syscall.Errno) + func (UnimplementedFS) Rename(from, to string) syscall.Errno + func (UnimplementedFS) Rmdir(path string) syscall.Errno + func (UnimplementedFS) Stat(path string) (Stat_t, syscall.Errno) + func (UnimplementedFS) String() string + func (UnimplementedFS) Symlink(_, _ string) syscall.Errno + func (UnimplementedFS) Truncate(string, int64) syscall.Errno + func (UnimplementedFS) Unlink(path string) syscall.Errno + func (UnimplementedFS) Utimens(path string, times *[2]syscall.Timespec, symlinkFollow bool) syscall.Errno + type UnimplementedFile struct + func (UnimplementedFile) Chmod(fs.FileMode) syscall.Errno + func (UnimplementedFile) Chown(int, int) syscall.Errno + func (UnimplementedFile) Close() (errno syscall.Errno) + func (UnimplementedFile) Datasync() syscall.Errno + func (UnimplementedFile) Ino() (uint64, syscall.Errno) + func (UnimplementedFile) IsAppend() bool + func (UnimplementedFile) IsDir() (bool, syscall.Errno) + func (UnimplementedFile) IsNonblock() bool + func (UnimplementedFile) PollRead(*time.Duration) (ready bool, errno syscall.Errno) + func (UnimplementedFile) Pread([]byte, int64) (int, syscall.Errno) + func (UnimplementedFile) Pwrite([]byte, int64) (int, syscall.Errno) + func (UnimplementedFile) Read([]byte) (int, syscall.Errno) + func (UnimplementedFile) Readdir(int) (dirents []Dirent, errno syscall.Errno) + func (UnimplementedFile) Seek(int64, int) (int64, syscall.Errno) + func (UnimplementedFile) SetAppend(bool) syscall.Errno + func (UnimplementedFile) SetNonblock(bool) syscall.Errno + func (UnimplementedFile) Stat() (Stat_t, syscall.Errno) + func (UnimplementedFile) Sync() syscall.Errno + func (UnimplementedFile) Truncate(int64) syscall.Errno + func (UnimplementedFile) Utimens(*[2]syscall.Timespec) syscall.Errno + func (UnimplementedFile) Write([]byte) (int, syscall.Errno)