Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20982 from Microsoft/jstarks/fix_tp5_commit
Windows: Revendor github.com/Microsoft/hcsshim
- Loading branch information
Showing
6 changed files
with
84 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package hcsshim | ||
|
||
import "os" | ||
|
||
// ProcessBaseLayer post-processes a base layer that has had its files extracted. | ||
// The files should have been extracted to <path>\Files. | ||
func ProcessBaseLayer(path string) error { | ||
err := processBaseImage(path) | ||
if err != nil { | ||
return &os.PathError{Op: "ProcessBaseLayer", Path: path, Err: err} | ||
} | ||
return nil | ||
} | ||
|
||
// ProcessUtilityVMImage post-processes a utility VM image that has had its files extracted. | ||
// The files should have been extracted to <path>\Files. | ||
func ProcessUtilityVMImage(path string) error { | ||
err := processUtilityImage(path) | ||
if err != nil { | ||
return &os.PathError{Op: "ProcessUtilityVMImage", Path: path, Err: err} | ||
} | ||
return nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters