MCPcopy Create free account
hub / github.com/compose-spec/compose-go / isDir

Method isDir

loader/loader.go:175–181  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

173}
174
175func (l localResourceLoader) isDir(path string) bool {
176 fileInfo, err := os.Stat(path)
177 if err != nil {
178 return false
179 }
180 return fileInfo.IsDir()
181}
182
183func (o *Options) clone() *Options {
184 return &Options{

Callers 1

DirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected