github.com/portworx/docker@v1.12.1/daemon/changes.go (about) 1 package daemon 2 3 import "github.com/docker/docker/pkg/archive" 4 5 // ContainerChanges returns a list of container fs changes 6 func (daemon *Daemon) ContainerChanges(name string) ([]archive.Change, error) { 7 container, err := daemon.GetContainer(name) 8 if err != nil { 9 return nil, err 10 } 11 12 container.Lock() 13 defer container.Unlock() 14 return container.RWLayer.Changes() 15 }