MCPcopy Create free account
hub / github.com/massCodeIO/massCode / scanMath

Function scanMath

src/main/storage/providers/markdown/doctor.ts:723–738  ·  view source on GitHub ↗
(context: ScanContext)

Source from the content-addressed store, hash-verified

721}
722
723function scanMath(context: ScanContext): void {
724 const statePath = getMathStatePath()
725 const { changed } = readNormalizedMathState()
726 if (!changed) {
727 return
728 }
729
730 addItem(context, {
731 action: 'repair-math-state',
732 fingerprint: getFingerprint(statePath),
733 kind: 'math-sheet',
734 path: 'math/.state.yaml',
735 space: 'math',
736 status: 'pending',
737 })
738}
739
740function buildSummary(context: ScanContext): VaultDoctorResponse['summary'] {
741 const items = context.items

Callers 1

previewVaultDoctorFunction · 0.85

Calls 4

getMathStatePathFunction · 0.85
readNormalizedMathStateFunction · 0.85
addItemFunction · 0.85
getFingerprintFunction · 0.85

Tested by

no test coverage detected