MCPcopy
hub / github.com/vercel/hyper / _getIntegrityFileLocation

Method _getIntegrityFileLocation

bin/yarn-standalone.js:48038–48053  ·  view source on GitHub ↗

* Get the full path of the yarn-integrity file.

()

Source from the content-addressed store, hash-verified

48036 */
48037
48038 _getIntegrityFileLocation() {
48039 var _this = this;
48040
48041 return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* () {
48042 const locationFolder = _this._getIntegrityFileFolder();
48043 const locationPath = path.join(locationFolder, (_constants || _load_constants()).INTEGRITY_FILENAME);
48044
48045 const exists = yield (_fs || _load_fs()).exists(locationPath);
48046
48047 return {
48048 locationFolder,
48049 locationPath,
48050 exists
48051 };
48052 })();
48053 }
48054
48055 /**
48056 * Get the list of the directories that contain our modules (there might be multiple such folders b/c of workspaces).

Callers 4

checkMethod · 0.80
getArtifactsMethod · 0.80
saveMethod · 0.80
removeIntegrityFileMethod · 0.80

Calls 4

_load_asyncToGeneratorFunction · 0.85
_load_constantsFunction · 0.85
_load_fsFunction · 0.85

Tested by

no test coverage detected