MCPcopy Create free account
hub / github.com/buildpacks/pack / Clear

Method Clear

pkg/cache/bind_cache.go:24–30  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

22}
23
24func (c *BindCache) Clear(ctx context.Context) error {
25 err := os.RemoveAll(c.bind)
26 if err != nil {
27 return err
28 }
29 return nil
30}
31
32func (c *BindCache) Type() Type {
33 return Bind

Callers 2

SetNodesMethod · 0.45
loadFileExplorerDataMethod · 0.45

Calls 1

RemoveAllMethod · 0.45

Tested by

no test coverage detected