Versions in this module Expand all Collapse all v0 v0.1.0 May 6, 2024 Changes in this version + func DirFS(dir string) experimentalsys.FS + func OpenFSFile(fs fs.FS, path string, flag experimentalsys.Oflag, perm fs.FileMode) (experimentalsys.File, experimentalsys.Errno) + func OpenFile(path string, flag experimentalsys.Oflag, perm fs.FileMode) (*os.File, experimentalsys.Errno) + func OpenOSFile(path string, flag experimentalsys.Oflag, perm fs.FileMode) (experimentalsys.File, experimentalsys.Errno) + type AdaptFS struct + FS fs.FS + func (a *AdaptFS) Chmod(string, fs.FileMode) experimentalsys.Errno + func (a *AdaptFS) Link(string, string) experimentalsys.Errno + func (a *AdaptFS) Lstat(path string) (sys.Stat_t, experimentalsys.Errno) + func (a *AdaptFS) Mkdir(string, fs.FileMode) experimentalsys.Errno + func (a *AdaptFS) OpenFile(path string, flag experimentalsys.Oflag, perm fs.FileMode) (experimentalsys.File, experimentalsys.Errno) + func (a *AdaptFS) Readlink(string) (string, experimentalsys.Errno) + func (a *AdaptFS) Rename(string, string) experimentalsys.Errno + func (a *AdaptFS) Rmdir(string) experimentalsys.Errno + func (a *AdaptFS) Stat(path string) (sys.Stat_t, experimentalsys.Errno) + func (a *AdaptFS) String() string + func (a *AdaptFS) Symlink(string, string) experimentalsys.Errno + func (a *AdaptFS) Unlink(string) experimentalsys.Errno + func (a *AdaptFS) Utimens(string, int64, int64) experimentalsys.Errno + type ReadFS struct + func (r *ReadFS) Chmod(path string, perm fs.FileMode) experimentalsys.Errno + func (r *ReadFS) Link(_, _ string) experimentalsys.Errno + func (r *ReadFS) Mkdir(path string, perm fs.FileMode) experimentalsys.Errno + func (r *ReadFS) OpenFile(path string, flag experimentalsys.Oflag, perm fs.FileMode) (experimentalsys.File, experimentalsys.Errno) + func (r *ReadFS) Rename(from, to string) experimentalsys.Errno + func (r *ReadFS) Rmdir(path string) experimentalsys.Errno + func (r *ReadFS) Symlink(_, _ string) experimentalsys.Errno + func (r *ReadFS) Unlink(path string) experimentalsys.Errno + func (r *ReadFS) Utimens(path string, atim, mtim int64) experimentalsys.Errno