66325f7271
The existing API ImageService.GetLayerFolders didn't have access to the ID of the container, and once we have that, the snapshotter Mounts API provides all the information we need here. Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com> Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
15 lines
446 B
Go
15 lines
446 B
Go
//go:build linux || freebsd
|
|
|
|
package containerd
|
|
|
|
import (
|
|
"github.com/docker/docker/errdefs"
|
|
"github.com/docker/docker/image"
|
|
"github.com/docker/docker/layer"
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
// GetLayerFolders returns the layer folders from an image RootFS.
|
|
func (i *ImageService) GetLayerFolders(img *image.Image, rwLayer layer.RWLayer, containerID string) ([]string, error) {
|
|
return nil, errdefs.NotImplemented(errors.New("not implemented"))
|
|
}
|