TODO: The cache assumes files because much of Helm assumes files. Convert Helm to pass content around instead of file locations. DiskCache is a cache that stores data on disk.
| 49 | |
| 50 | // DiskCache is a cache that stores data on disk. |
| 51 | type DiskCache struct { |
| 52 | Root string |
| 53 | } |
| 54 | |
| 55 | // Get returns a reader for the given key. |
| 56 | func (c *DiskCache) Get(key [sha256.Size]byte, cacheType string) (string, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected