Versions in this module Expand all Collapse all v0 v0.3.0 Mar 9, 2022 v0.2.0 Jan 5, 2022 Changes in this version + type MemFS = pvfs.MemFS v0.1.0 Oct 13, 2021 Changes in this version + var Default = pvfs.Default + var DefaultPebbleFS = NewPebbleFS(Default) + func Clean(dir string) string + func IsExist(err error) bool + func IsNotExist(err error) bool + func NewPebbleFS(fs FS) pbvfs.FS + func ReportLeakedFD(fs FS, t *testing.T) + func TempDir() string + type FS = pvfs.FS + func GetTestFS() FS + func NewMemFS() FS + type File = pvfs.File + type PebbleFS struct + func (p *PebbleFS) Create(name string) (pbvfs.File, error) + func (p *PebbleFS) GetFreeSpace(path string) (uint64, error) + func (p *PebbleFS) GetVFS() FS + func (p *PebbleFS) Link(oldname, newname string) error + func (p *PebbleFS) List(dir string) ([]string, error) + func (p *PebbleFS) Lock(name string) (io.Closer, error) + func (p *PebbleFS) MkdirAll(dir string, perm os.FileMode) error + func (p *PebbleFS) Open(name string, opts ...pbvfs.OpenOption) (pbvfs.File, error) + func (p *PebbleFS) OpenDir(name string) (pbvfs.File, error) + func (p *PebbleFS) PathBase(path string) string + func (p *PebbleFS) PathDir(path string) string + func (p *PebbleFS) PathJoin(elem ...string) string + func (p *PebbleFS) Remove(name string) error + func (p *PebbleFS) RemoveAll(name string) error + func (p *PebbleFS) Rename(oldname, newname string) error + func (p *PebbleFS) ReuseForWrite(oldname, newname string) (pbvfs.File, error) + func (p *PebbleFS) Stat(name string) (os.FileInfo, error)