MCPcopy Create free account
hub / github.com/belak/gitdir / dirExists

Function dirExists

internal/git/utils.go:18–25  ·  view source on GitHub ↗
(fs billy.Filesystem, path string)

Source from the content-addressed store, hash-verified

16}
17
18func dirExists(fs billy.Filesystem, path string) bool {
19 info, err := fs.Stat(path)
20 if err != nil {
21 return false
22 }
23
24 return info.IsDir()
25}

Callers 1

EnsureRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected