Browse code

Windows: GetLayerPath in graphdriver

Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>

John Howard (VM) authored on 2018/03/30 03:45:45
Showing 1 changed files
... ...
@@ -340,6 +340,11 @@ func (d *Driver) Remove(id string) error {
340 340
 	return nil
341 341
 }
342 342
 
343
+// GetLayerPath gets the layer path on host
344
+func (d *Driver) GetLayerPath(id string) (string, error) {
345
+	return d.dir(id), nil
346
+}
347
+
343 348
 // Get returns the rootfs path for the id. This will mount the dir at its given path.
344 349
 func (d *Driver) Get(id, mountLabel string) (containerfs.ContainerFS, error) {
345 350
 	logrus.Debugf("WindowsGraphDriver Get() id %s mountLabel %s", id, mountLabel)