MCPcopy Index your code
hub / github.com/github/awesome-copilot / hasMarker

Function hasMarker

extensions/java-modernization-studio/scan.mjs:88–90  ·  view source on GitHub ↗
(md)

Source from the content-addressed store, hash-verified

86// when there is no .appmod/ directory yet.
87const APPMOD_MARKER_RE = /<!--\s*appmod-cockpit\b/i;
88function hasMarker(md) {
89 return typeof md === "string" && APPMOD_MARKER_RE.test(md.slice(0, 2000));
90}
91
92// The assessment.json is written by an LLM step, so its shape can drift: severities
93// may be lowercase or word-form, `files` may be a bare string, findings may be

Callers 1

trustedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected