MCPcopy Index your code
hub / github.com/vercel/hyper / _getIntegrityFileFolder

Method _getIntegrityFileFolder

bin/yarn-standalone.js:48024–48032  ·  view source on GitHub ↗

* Get the directory in which the yarn-integrity file should be written.

()

Source from the content-addressed store, hash-verified

48022 */
48023
48024 _getIntegrityFileFolder() {
48025 if (this.config.modulesFolder) {
48026 return this.config.modulesFolder;
48027 } else if (this.config.enableMetaFolder) {
48028 return path.join(this.config.lockfileFolder, (_constants || _load_constants()).META_FOLDER);
48029 } else {
48030 return path.join(this.config.lockfileFolder, (_constants || _load_constants()).NODE_MODULES_FOLDER);
48031 }
48032 }
48033
48034 /**
48035 * Get the full path of the yarn-integrity file.

Callers 1

Calls 1

_load_constantsFunction · 0.85

Tested by

no test coverage detected