electron/lib/common
Alexey Kuzmin 382afc03ae chore: clean up asar stuff (#14505)
* 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"
2018-09-10 08:29:19 -07:00
..
api chore: add removeFunction to deprecate module (#14468) 2018-09-05 21:55:28 -07:00
asar.js chore: clean up asar stuff (#14505) 2018-09-10 08:29:19 -07:00
asar_init.js asar: remove patch to support graceful-fs (#12562) 2018-04-07 10:13:32 -05:00
atom-binding-setup.js Expose builtin v8 modules to AtomSandboxedRendererClient 2017-03-09 20:39:14 -03:00
buffer-utils.js perf: don't use JSON to send the result of ipcRenderer.sendSync. (#8953) 2018-06-13 17:38:31 +10:00
init.js fix: util.promisify(setTimeout) (#13840) 2018-07-30 11:14:04 +10:00
parse-features-string.js Coerce features to string 2016-12-02 13:40:31 -08:00
reset-search-paths.js Reuse root path variable 2016-06-23 15:56:29 -07:00