Windows: GetLayerPath in graphdriver

Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>
Upstream-commit: 3aab84803dec4a28484b319531685276435263cd
Component: engine
This commit is contained in:
John Howard (VM)
2018-03-29 11:45:45 -07:00
parent b95f740ca4
commit 60950b5248
@@ -340,6 +340,11 @@ func (d *Driver) Remove(id string) error {
return nil
}
// GetLayerPath gets the layer path on host
func (d *Driver) GetLayerPath(id string) (string, error) {
return d.dir(id), nil
}
// Get returns the rootfs path for the id. This will mount the dir at its given path.
func (d *Driver) Get(id, mountLabel string) (containerfs.ContainerFS, error) {
logrus.Debugf("WindowsGraphDriver Get() id %s mountLabel %s", id, mountLabel)