Versions in this module Expand all Collapse all v0 v0.1.1 Nov 1, 2026 v0.1.0 Oct 18, 2026 Changes in this version + const CanLabel + const CanLink + const CanMetadata + const CanOpen + const CanSymlink + const CanTruncate + const MaxFrame + func Serve(conn io.ReadWriteCloser, fsys filesystem.Filesystem) error + type Capability uint64 + type Error struct + Msg string + func (e *Error) Error() string + func (e *Error) Is(target error) bool + type FS struct + func New(conn io.ReadWriteCloser) (*FS, error) + func (f *FS) Can(c Capability) bool + func (f *FS) Chmod(path string, perm os.FileMode) error + func (f *FS) Chown(path string, uid, gid uint32) error + func (f *FS) Chtimes(path string, atime, mtime time.Time) error + func (f *FS) Close() error + func (f *FS) DeleteDir(path string) error + func (f *FS) DeleteFile(path string) error + func (f *FS) Label() string + func (f *FS) Link(oldPath, newPath string) error + func (f *FS) ListDir(path string) ([]filesystem.DirEntry, error) + func (f *FS) MkDir(path string, perm os.FileMode) error + func (f *FS) OpenFile(path string) (filesystem.File, error) + func (f *FS) ReadFile(path string) ([]byte, error) + func (f *FS) ReadLink(path string) (string, error) + func (f *FS) Rename(oldPath, newPath string) error + func (f *FS) Stat(path string) (filesystem.Stat, error) + func (f *FS) Symlink(target, linkPath string) error + func (f *FS) Truncate(path string, newSize int64) error + func (f *FS) WriteFile(path string, data []byte, perm os.FileMode) error