MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getVersion

Function getVersion

scripts/build-protocol-tarball.cjs:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49const isRelease = args.includes('--release');
50
51function getVersion() {
52 return JSON.parse(fs.readFileSync(PACKAGE_JSON, 'utf8')).version;
53}
54
55function ensureDir(dir) {
56 if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true });

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected