![]() * chore: reformat code * refactor: getOrCreateArchive() for ASARs - store cached archive in a Map - return `null` instead of `false` on failures * refactor: splitPath() for ASARs - store custom extension in a constant - remove magic numbers - add comments * refactor: explicitly use assert() for a developer error * chore: remove console.log() calls * refactor: replace "p" arguments with "pathArgument" "path" would be a better name, but it is already taken but the "path" Node module. * refactor: createError() for ASARs - return an `Error` instance - use enum for error types - minor improvements * refactor: use more meaningful name for an arg than just "arg" |
||
---|---|---|
.. | ||
api | ||
asar.js | ||
asar_init.js | ||
atom-binding-setup.js | ||
buffer-utils.js | ||
init.js | ||
parse-features-string.js | ||
reset-search-paths.js |