(localPath string)
| 247 | } |
| 248 | |
| 249 | func resolveLocalPath(localPath string) (absPath string, _ error) { |
| 250 | absPath, err := filepath.Abs(localPath) |
| 251 | if err != nil { |
| 252 | return "", err |
| 253 | } |
| 254 | return archive.PreserveTrailingDotOrSeparator(absPath, localPath), nil |
| 255 | } |
| 256 | |
| 257 | func copyFromContainer(ctx context.Context, dockerCLI command.Cli, copyConfig cpConfig) (err error) { |
| 258 | dstPath := copyConfig.destPath |
no outgoing calls
no test coverage detected
searching dependent graphs…