- Add API support for SCTP port mapping - Add canonical import path - Add `REMOVE` and `ORPHANED` to TaskState - Fix TLS from environment variables in client - Introduce NewClientWithOpts func to build custom client easily - Wrap response errors for container copy methodsto fix error detection using `IsErrNotFound` and `IsErrNotImplemented` for `ContainerStatPath`, `CopyFromContainer`, and `CopyToContainer` methods. - Produce errors when empty ids are passed into inspect calls Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
10 lines
171 B
Go
10 lines
171 B
Go
package archive // import "github.com/docker/docker/pkg/archive"
|
|
|
|
import (
|
|
"path/filepath"
|
|
)
|
|
|
|
func normalizePath(path string) string {
|
|
return filepath.FromSlash(path)
|
|
}
|