Versions in this module Expand all Collapse all v1 v1.0.1 May 31, 2021 v1.0.0 May 31, 2021 Changes in this version + func Search(root string, name string, indexFiles ...string) (filePath string, isDir bool) + func SearchWithCache(root string, name string, indexFiles ...string) (filePath string, isDir bool) + type SPath struct + func Get(root string, cache bool) *SPath + func New(path string, cache bool) *SPath + func (sp *SPath) Add(path string) (realPath string, err error) + func (sp *SPath) AllPaths() []string + func (sp *SPath) Paths() []string + func (sp *SPath) Remove(path string) + func (sp *SPath) Search(name string, indexFiles ...string) (filePath string, isDir bool) + func (sp *SPath) Set(path string) (realPath string, err error) + func (sp *SPath) Size() int + type SPathCacheItem struct