MCPcopy Index your code
hub / github.com/nodejs/corepack / getLastKnownGoodFilePath

Function getLastKnownGoodFilePath

sources/Engine.ts:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27};
28
29function getLastKnownGoodFilePath() {
30 const lkg = path.join(folderUtils.getCorepackHomeFolder(), `lastKnownGood.json`);
31 debugUtils.log(`LastKnownGood file would be located at ${lkg}`);
32 return lkg;
33}
34
35export async function getLastKnownGood(): Promise<Record<string, string>> {
36 let raw: string;

Callers 2

getLastKnownGoodFunction · 0.85
createLastKnownGoodFileFunction · 0.85

Calls 1

logMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…