MCPcopy Index your code
hub / github.com/fontsource/fontsource / getMetadata

Function getMetadata

packages/cli/src/custom/rebuilder.ts:10–12  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

8import { verifyAll } from './verify';
9
10const getMetadata = async (dir: string): Promise<Metadata> => {
11 return await fs.readJson(path.join(dir, 'metadata.json'), 'utf8');
12};
13
14interface PackageJson {
15 version: string;

Callers 1

rebuildFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected