MCPcopy Index your code
hub / github.com/go-git/go-git / ReadDir

Method ReadDir

storage/filesystem/dotgit/dotgit_test.go:1027–1033  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

1025}
1026
1027func (f *notExistsFS) ReadDir(path string) ([]os.FileInfo, error) {
1028 if f.matches(path) {
1029 return nil, os.ErrNotExist
1030 }
1031
1032 return f.Filesystem.ReadDir(path)
1033}
1034
1035func (s *SuiteDotGit) TestDeletedRefs(c *C) {
1036 fs := s.TemporalFilesystem(c)

Callers 6

objectPacksMethod · 0.45
forEachObjectHashMethod · 0.45
hasIncomingObjectsMethod · 0.45
walkReferencesTreeMethod · 0.45

Calls 1

matchesMethod · 0.95

Tested by

no test coverage detected