NewFilesystemCache returns a Cache implementation backed by files.
(path string)
| 32 | |
| 33 | // NewFilesystemCache returns a Cache implementation backed by files. |
| 34 | func NewFilesystemCache(path string) Cache { |
| 35 | return &fscache{path} |
| 36 | } |
| 37 | |
| 38 | func (fs *fscache) Put(l v1.Layer) (v1.Layer, error) { |
| 39 | digest, err := l.Digest() |
no outgoing calls
searching dependent graphs…