MCPcopy Create free account
hub / github.com/alibaba/open-code-review / writeHint

Function writeHint

scripts/update.js:117–121  ·  view source on GitHub ↗
(latestVersion, pkgName)

Source from the content-addressed store, hash-verified

115}
116
117function writeHint(latestVersion, pkgName) {
118 try {
119 fs.writeFileSync(hintFile, JSON.stringify({ version: latestVersion, pkg: pkgName }));
120 } catch (_) {}
121}
122
123function removeHint() {
124 try {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected