MCPcopy
hub / github.com/shareAI-lab/learn-claude-code / ChapterSource

Interface ChapterSource

web/scripts/extract-content.ts:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20type Locale = "en" | "zh" | "ja";
21
22interface ChapterSource {
23 id: string;
24 dirName: string;
25 dirPath: string;
26 codePath: string;
27}
28
29function dirToVersionId(dirName: string): string | null {
30 const match = dirName.match(/^(s\d{2})_/);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected