(dir = process.env.CACHE_DIR || '.')
| 75 | |
| 76 | static FileSystemStrategy = class { |
| 77 | constructor(dir = process.env.CACHE_DIR || '.') { |
| 78 | this.dir = dir; |
| 79 | this.algos = new Set(); |
| 80 | } |
| 81 | |
| 82 | async get(algo, digest) { |
| 83 | digest = encodeURIComponent(digest); |
nothing calls this directly
no outgoing calls
no test coverage detected