|
@@ -35,7 +35,7 @@ func DefaultPathEnv(os string) string {
|
|
// This is used, for example, when validating a user provided path in docker cp.
|
|
// This is used, for example, when validating a user provided path in docker cp.
|
|
// If a drive letter is supplied, it must be the system drive. The drive letter
|
|
// If a drive letter is supplied, it must be the system drive. The drive letter
|
|
// is always removed. Also, it translates it to OS semantics (IOW / to \). We
|
|
// is always removed. Also, it translates it to OS semantics (IOW / to \). We
|
|
-// need the path in this syntax so that it can ultimately be contatenated with
|
|
|
|
|
|
+// need the path in this syntax so that it can ultimately be concatenated with
|
|
// a Windows long-path which doesn't support drive-letters. Examples:
|
|
// a Windows long-path which doesn't support drive-letters. Examples:
|
|
// C: --> Fail
|
|
// C: --> Fail
|
|
// C:\ --> \
|
|
// C:\ --> \
|