Versions in this module Expand all Collapse all v0 v0.0.1 Dec 19, 2019 Changes in this version + const Version + var CommonSkipPrefixes = []string + func SkipWalker(walker Walker, skipPrefixes []string, wf WalkFunc) error + type Addable interface + AddBytes func(path string, t []byte) error + AddString func(path string, t string) error + type Box interface + type File interface + FileInfo func() (os.FileInfo, error) + func NewDir(name string) (File, error) + func NewFile(name string, r io.Reader) (File, error) + type Finder interface + Find func(string) ([]byte, error) + FindString func(name string) (string, error) + type HTTPBox interface + Open func(name string) (http.File, error) + type HTTPFile interface + Readdir func(count int) ([]os.FileInfo, error) + Stat func() (os.FileInfo, error) + type Haser interface + Has func(string) bool + type LegacyBox interface + Bytes func(name string) []byte + MustBytes func(name string) ([]byte, error) + MustString func(name string) (string, error) + String func(name string) string + type Lister interface + List func() []string + type MemoryBox struct + func NewMemoryBox() *MemoryBox + func (m *MemoryBox) AddBytes(path string, t []byte) error + func (m *MemoryBox) AddString(path string, t string) error + func (m *MemoryBox) Find(path string) (ret []byte, e error) + func (m *MemoryBox) FindString(path string) (string, error) + func (m *MemoryBox) Has(path string) bool + func (m *MemoryBox) List() []string + func (m *MemoryBox) Open(path string) (http.File, error) + func (m *MemoryBox) Remove(path string) + func (m *MemoryBox) Walk(wf WalkFunc) error + func (m *MemoryBox) WalkPrefix(pre string, wf WalkFunc) error + type SimpleFile interface + Name func() string + type WalkFunc func(string, File) error + type Walkable interface + WalkPrefix func(prefix string, wf WalkFunc) error + type Walker interface + Walk func(wf WalkFunc) error