Versions in this module Expand all Collapse all v1 v1.1.2 Sep 28, 2022 v1.1.1 Sep 28, 2022 Changes in this version + const LocateAppended + const LocateEmbedded + const LocateFS + const LocateWorkingDirectory + var Debug = false + type Box struct + func FindBox(name string) (*Box, error) + func MustFindBox(name string) *Box + func (b *Box) Bytes(name string) ([]byte, error) + func (b *Box) HTTPBox() *HTTPBox + func (b *Box) IsAppended() bool + func (b *Box) IsEmbedded() bool + func (b *Box) MustBytes(name string) []byte + func (b *Box) MustString(name string) string + func (b *Box) Name() string + func (b *Box) Open(name string) (*File, error) + func (b *Box) String(name string) (string, error) + func (b *Box) Time() time.Time + func (b *Box) Walk(path string, walkFn filepath.WalkFunc) error + type Config struct + LocateOrder []LocateMethod + func (c *Config) FindBox(boxName string) (*Box, error) + func (c *Config) MustFindBox(boxName string) *Box + type File struct + func (f *File) Close() error + func (f *File) Read(bts []byte) (int, error) + func (f *File) Readdir(count int) ([]os.FileInfo, error) + func (f *File) Readdirnames(count int) ([]string, error) + func (f *File) Seek(offset int64, whence int) (int64, error) + func (f *File) Stat() (os.FileInfo, error) + type HTTPBox struct + func (hb *HTTPBox) Open(name string) (http.File, error) + type LocateMethod int + type SortByModified []os.FileInfo + func (f SortByModified) Len() int + func (f SortByModified) Less(i, j int) bool + func (f SortByModified) Swap(i, j int) + type SortByName []os.FileInfo + func (f SortByName) Len() int + func (f SortByName) Less(i, j int) bool + func (f SortByName) Swap(i, j int)