MCPcopy
hub / github.com/wagoodman/dive / Build

Method Build

dive/image/docker/engine_resolver.go:45–51  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

43}
44
45func (r *engineResolver) Build(args []string) (*image.Image, error) {
46 id, err := buildImageFromCli(args)
47 if err != nil {
48 return nil, err
49 }
50 return r.Fetch(id)
51}
52
53func (r *engineResolver) Extract(id string, l string, p string) error {
54 reader, err := r.fetchArchive(id)

Callers

nothing calls this directly

Calls 2

FetchMethod · 0.95
buildImageFromCliFunction · 0.70

Tested by

no test coverage detected