github.com/containers/podman/v4@v4.9.4/libpod/layers/layer.go (about) 1 package layers 2 3 import cstorage "github.com/containers/storage" 4 5 // FullID gets the full id of a layer given a partial id or name 6 func FullID(store cstorage.Store, id string) (string, error) { 7 layer, err := store.Layer(id) 8 if err != nil { 9 return "", err 10 } 11 return layer.ID, nil 12 }