Documentation ¶
Index ¶
- Constants
- func Clean(s string) string
- type VFS
- func (V *VFS) Chmod(path string, perm fs.FileMode) error
- func (V *VFS) Chown(path string, uid int, gid int) error
- func (V *VFS) Create(name string) (apkfs.File, error)
- func (V *VFS) GetXattr(path string, attr string) ([]byte, error)
- func (V *VFS) Link(oldname, newname string) error
- func (V *VFS) ListXattrs(path string) (map[string][]byte, error)
- func (V *VFS) Lstat(path string) (fs.FileInfo, error)
- func (V *VFS) Mkdir(path string, perm fs.FileMode) error
- func (V *VFS) MkdirAll(path string, perm fs.FileMode) error
- func (V *VFS) Mknod(path string, mode uint32, dev int) error
- func (V *VFS) Open(name string) (fs.File, error)
- func (V *VFS) OpenFile(name string, flag int, perm fs.FileMode) (apkfs.File, error)
- func (V *VFS) OpenReaderAt(name string) (apkfs.File, error)
- func (V *VFS) Path(path string) string
- func (V *VFS) ReadDir(name string) ([]fs.DirEntry, error)
- func (V *VFS) ReadFile(name string) ([]byte, error)
- func (V *VFS) Readlink(name string) (target string, err error)
- func (V *VFS) Readnod(name string) (dev int, err error)
- func (V *VFS) Remove(name string) error
- func (V *VFS) RemoveXattr(path string, attr string) error
- func (V *VFS) SetXattr(path string, attr string, data []byte) error
- func (V *VFS) Stat(path string) (fs.FileInfo, error)
- func (V *VFS) Symlink(oldname, newname string) error
- func (V *VFS) WriteFile(name string, b []byte, mode fs.FileMode) error
Constants ¶
View Source
const ( DefaultDirectoryPermissions = 0755 DefaultFilePermissions = 0644 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.