(out *packageFS, path string)
| 183 | } |
| 184 | |
| 185 | func (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 | |
| 193 | func (d *DerivationBuilder) copyFile(ctx context.Context, pkg, out *packageFS, path string) error { |
| 194 | srcFile, err := pkg.Open(path) |