1package hcsshim
2
3import "os"
4
5// ProcessBaseLayer post-processes a base layer that has had its files extracted.
6// The files should have been extracted to <path>\Files.
7func ProcessBaseLayer(path string) error {
8	err := processBaseImage(path)
9	if err != nil {
10		return &os.PathError{Op: "ProcessBaseLayer", Path: path, Err: err}
11	}
12	return nil
13}
14
15// ProcessUtilityVMImage post-processes a utility VM image that has had its files extracted.
16// The files should have been extracted to <path>\Files.
17func ProcessUtilityVMImage(path string) error {
18	err := processUtilityImage(path)
19	if err != nil {
20		return &os.PathError{Op: "ProcessUtilityVMImage", Path: path, Err: err}
21	}
22	return nil
23}
24