Cache.js
Function constructor
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor (fs, cacheOpts) {
if (!fs) throw err('ERR_INVALID_ARG_TYPE', 'fs option required, this package doesnt assume which fs you want to use, see: hyperdrive')
cacheOpts = Object.assign({
cacheSize: DEFAULT_CACHE_SIZE,
Function read
has 6 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
read (fp, buffer, position, size, start, cb) {
Function read
has 5 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
read (fp, prefix, start, end, cb) {