├── .github └── FUNDING.yml ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE ├── LICENSE.md ├── PULL_REQUEST_TEMPLATE ├── README.es.md ├── README.md ├── appveyor.yml ├── en.js ├── es.js ├── get.js ├── index.js ├── lib ├── content │ ├── path.js │ ├── read.js │ ├── rm.js │ └── write.js ├── entry-index.js ├── memoization.js ├── util │ ├── fix-owner.js │ ├── hash-to-segments.js │ ├── move-file.js │ ├── tmp.js │ └── y.js └── verify.js ├── locales ├── en.js ├── en.json ├── es.js └── es.json ├── ls.js ├── package.json ├── put.js ├── rm.js ├── test ├── benchmarks │ ├── content.read.js │ ├── get.js │ ├── index.find.js │ ├── index.insert.js │ ├── index.js │ └── put.js ├── content.read.js ├── content.rm.js ├── content.write.chownr.js ├── content.write.js ├── get.js ├── index.find.js ├── index.insert.js ├── ls.js ├── memoization.js ├── put.js ├── rm.js ├── strict.js ├── util.move-file.js ├── util.tmp.js ├── util │ ├── cache-content.js │ ├── cache-index.js │ ├── from-string.js │ └── test-dir.js └── verify.js └── verify.js /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [zkat] 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.nyc_output 3 | /test/cache 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/ISSUE_TEMPLATE -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/LICENSE.md -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/PULL_REQUEST_TEMPLATE -------------------------------------------------------------------------------- /README.es.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/README.es.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/appveyor.yml -------------------------------------------------------------------------------- /en.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./locales/en.js') 4 | -------------------------------------------------------------------------------- /es.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./locales/es.js') 4 | -------------------------------------------------------------------------------- /get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/get.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./locales/en.js') 4 | -------------------------------------------------------------------------------- /lib/content/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/content/path.js -------------------------------------------------------------------------------- /lib/content/read.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/content/read.js -------------------------------------------------------------------------------- /lib/content/rm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/content/rm.js -------------------------------------------------------------------------------- /lib/content/write.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/content/write.js -------------------------------------------------------------------------------- /lib/entry-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/entry-index.js -------------------------------------------------------------------------------- /lib/memoization.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/memoization.js -------------------------------------------------------------------------------- /lib/util/fix-owner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/util/fix-owner.js -------------------------------------------------------------------------------- /lib/util/hash-to-segments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/util/hash-to-segments.js -------------------------------------------------------------------------------- /lib/util/move-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/util/move-file.js -------------------------------------------------------------------------------- /lib/util/tmp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/util/tmp.js -------------------------------------------------------------------------------- /lib/util/y.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/util/y.js -------------------------------------------------------------------------------- /lib/verify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/lib/verify.js -------------------------------------------------------------------------------- /locales/en.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/locales/en.js -------------------------------------------------------------------------------- /locales/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/locales/en.json -------------------------------------------------------------------------------- /locales/es.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/locales/es.js -------------------------------------------------------------------------------- /locales/es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/locales/es.json -------------------------------------------------------------------------------- /ls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/ls.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/package.json -------------------------------------------------------------------------------- /put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/put.js -------------------------------------------------------------------------------- /rm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/rm.js -------------------------------------------------------------------------------- /test/benchmarks/content.read.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/benchmarks/content.read.js -------------------------------------------------------------------------------- /test/benchmarks/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/benchmarks/get.js -------------------------------------------------------------------------------- /test/benchmarks/index.find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/benchmarks/index.find.js -------------------------------------------------------------------------------- /test/benchmarks/index.insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/benchmarks/index.insert.js -------------------------------------------------------------------------------- /test/benchmarks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/benchmarks/index.js -------------------------------------------------------------------------------- /test/benchmarks/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/benchmarks/put.js -------------------------------------------------------------------------------- /test/content.read.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/content.read.js -------------------------------------------------------------------------------- /test/content.rm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/content.rm.js -------------------------------------------------------------------------------- /test/content.write.chownr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/content.write.chownr.js -------------------------------------------------------------------------------- /test/content.write.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/content.write.js -------------------------------------------------------------------------------- /test/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/get.js -------------------------------------------------------------------------------- /test/index.find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/index.find.js -------------------------------------------------------------------------------- /test/index.insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/index.insert.js -------------------------------------------------------------------------------- /test/ls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/ls.js -------------------------------------------------------------------------------- /test/memoization.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/memoization.js -------------------------------------------------------------------------------- /test/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/put.js -------------------------------------------------------------------------------- /test/rm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/rm.js -------------------------------------------------------------------------------- /test/strict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/strict.js -------------------------------------------------------------------------------- /test/util.move-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/util.move-file.js -------------------------------------------------------------------------------- /test/util.tmp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/util.tmp.js -------------------------------------------------------------------------------- /test/util/cache-content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/util/cache-content.js -------------------------------------------------------------------------------- /test/util/cache-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/util/cache-index.js -------------------------------------------------------------------------------- /test/util/from-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/util/from-string.js -------------------------------------------------------------------------------- /test/util/test-dir.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/util/test-dir.js -------------------------------------------------------------------------------- /test/verify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zkat/cacache/HEAD/test/verify.js -------------------------------------------------------------------------------- /verify.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('./lib/verify') 4 | --------------------------------------------------------------------------------