mirror of
https://github.com/nodejs/node.git
synced 2026-11-15 10:36:53 -05:00
src: fix typos
PR-URL: https://github.com/nodejs/node/pull/55064 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
1 parent
fd787c96e1
commit
b5fb2ff81e
16 files changed
+25
-25
No files matched your search
@@ -358,7 +358,7 @@ void CompileCacheHandler::Persist() {
|
||||
// 2. v23.0.0-pre-arm64-5fad6d45-501 is the sub cache directory and
|
||||
// e7f8ef7f is the hash for the cache (see
|
||||
// CompileCacheHandler::Enable()),
|
||||
// 3. tcqrsK is generated by uv_fs_mkstemp() as a temporary indentifier.
|
||||
// 3. tcqrsK is generated by uv_fs_mkstemp() as a temporary identifier.
|
||||
uv_fs_t mkstemp_req;
|
||||
auto cleanup_mkstemp =
|
||||
OnScopeLeave([&mkstemp_req]() { uv_fs_req_cleanup(&mkstemp_req); });
|
||||
@@ -444,7 +444,7 @@ CompileCacheHandler::CompileCacheHandler(Environment* env)
|
||||
|
||||
// Directory structure:
|
||||
// - Compile cache directory (from NODE_COMPILE_CACHE)
|
||||
// - $NODE_VERION-$ARCH-$CACHE_DATA_VERSION_TAG-$UID
|
||||
// - $NODE_VERSION-$ARCH-$CACHE_DATA_VERSION_TAG-$UID
|
||||
// - $FILENAME_AND_MODULE_TYPE_HASH.cache: a hash of filename + module type
|
||||
CompileCacheEnableResult CompileCacheHandler::Enable(Environment* env,
|
||||
const std::string& dir) {
|
||||
|
||||
Reference in new issue
Block a user