MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / countIncompleteStrips

Function countIncompleteStrips

tests/helpers/simulate-stream.ts:41–43  ·  view source on GitHub ↗
(snapshots: RehtmlResult[])

Source from the content-addressed store, hash-verified

39
40/** Count how many snapshots had incomplete trailing tags stripped */
41export function countIncompleteStrips(snapshots: RehtmlResult[]): number {
42 return snapshots.filter((s) => s.hadIncompleteTag).length;
43}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected