MCPcopy Create free account
hub / github.com/jetify-com/devbox / copyDir

Method copyDir

internal/patchpkg/builder.go:185–191  ·  view source on GitHub ↗
(out *packageFS, path string)

Source from the content-addressed store, hash-verified

183}
184
185func (d *DerivationBuilder) copyDir(out *packageFS, path string) error {
186 path, err := out.OSPath(path)
187 if err != nil {
188 return err
189 }
190 return os.MkdirAll(path, 0o777)
191}
192
193func (d *DerivationBuilder) copyFile(ctx context.Context, pkg, out *packageFS, path string) error {
194 srcFile, err := pkg.Open(path)

Callers 2

buildMethod · 0.95
findCUDAMethod · 0.95

Calls 1

OSPathMethod · 0.80

Tested by

no test coverage detected