MCPcopy Create free account
hub / github.com/codetainerapp/codetainer / StatDir

Function StatDir

Godeps/_workspace/src/github.com/Unknwon/com/dir.go:78–88  ·  view source on GitHub ↗

StatDir gathers information of given directory by depth-first. It returns slice of file list and includes subdirectories if enabled; it returns error and nil slice when error occurs in underlying functions, or given path is not a directory or does not exist. Slice does not include given path itself

(rootPath string, includeDir ...bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CopyDirFunction · 0.85
TestCopyDirFunction · 0.85

Calls 3

IsDirFunction · 0.85
statDirFunction · 0.85
NewMethod · 0.65

Tested by 1

TestCopyDirFunction · 0.68