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

Function CopyDir

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

CopyDir copy files recursively from source to target directory. The filter accepts a function that process the path info. and should return true for need to filter. It returns error when error occurs in underlying functions.

(srcPath, destPath string, filters ...func(filePath string) bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestCopyDirFunction · 0.85

Calls 5

StatDirFunction · 0.85
IsExistFunction · 0.70
CopyFunction · 0.70
NewMethod · 0.65
JoinMethod · 0.45

Tested by 1

TestCopyDirFunction · 0.68