Update hcsshim to include DSR features

This commit is contained in:
Kalya Subramanian
2019-05-20 21:54:44 +00:00
parent 07e3b7cdca
commit c32c26000d
17 changed files with 160 additions and 84 deletions

View File

@@ -87,7 +87,7 @@ func OpenRoot(path string) (*os.File, error) {
func ntRelativePath(path string) ([]uint16, error) {
path = filepath.Clean(path)
if strings.Contains(":", path) {
if strings.Contains(path, ":") {
// Since alternate data streams must follow the file they
// are attached to, finding one here (out of order) is invalid.
return nil, errors.New("path contains invalid character `:`")