MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / [...pkg].get.ts

File [...pkg].get.ts

server/api/registry/compare-file/[...pkg].get.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as v from 'valibot'
2import { PackageFileDiffQuerySchema } from '#shared/schemas/package'
3
4const CACHE_VERSION = 1

Callers

nothing calls this directly

Calls 9

parsePackageParamsFunction · 0.85
parseVersionRangeFunction · 0.85
fetchFileContentForDiffFunction · 0.85
createDiffFunction · 0.85
insertSkipBlocksFunction · 0.85
countDiffStatsFunction · 0.85
getLanguageFromPathFunction · 0.85
getShikiHighlighterFunction · 0.85
handleApiErrorFunction · 0.85

Tested by

no test coverage detected