Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
8
import
{ verifyAll } from
'./verify'
;
9
10
const
getMetadata =
async
(dir: string): Promise<Metadata> => {
11
return
await
fs.readJson(path.join(dir,
'metadata.json'
),
'utf8'
);
12
};
13
14
interface
PackageJson {
15
version: string;
Callers
1
rebuild
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected