MCPcopy Create free account
hub / github.com/arktypeio/arktype / staleHelixFiles

Function staleHelixFiles

ark/tree-sitter/scripts/writeHelix.ts:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 ])
66
67export const staleHelixFiles = (): string[] =>
68 [...helixOutputs()]
69 .filter(([path, contents]) => {
70 try {
71 return read(path) !== contents
72 } catch {
73 return true
74 }
75 })
76 .map(([path]) => path)
77
78if (import.meta.main) {
79 if (process.argv.includes("--check")) {

Callers 2

parity.test.tsFile · 0.90
writeHelix.tsFile · 0.85

Calls 4

helixOutputsFunction · 0.85
filterMethod · 0.80
readFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected