Searched defs:mockFs (Results 1 – 2 of 2) sorted by relevance
240 type mockFs struct { struct241 files map[string][]byte242 dirs map[string]bool243 symlinks map[string]string244 all []string247 func (m *mockFs) followSymlinks(name string) string {272 func (m *mockFs) Open(name string) (ReaderAtSeekerCloser, error) {292 func (m *mockFs) Exists(name string) (bool, bool, error) {304 func (m *mockFs) IsDir(name string) (bool, error) {332 func (m *mockFs) IsSymlink(name string) (bool, error) {[all …]
42 var mockFs = pathtools.MockFs(map[string][]byte{ var