MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / isGithubWorkflow

Function isGithubWorkflow

graph-ui/src/browser-ai/file-kind.ts:23–23  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

21
22/** A GitHub Actions workflow, by where GitHub reads it from. */
23export const isGithubWorkflow = (path: string): boolean => /(?:^|\/)\.github\/workflows\/[^/]+\.ya?ml$/i.test(path);
24
25export function fileKind(path: string): string | undefined {
26 const name = path.split('/').pop() ?? path;

Callers 4

workflowFactLinesFunction · 0.90
fileOutlineFunction · 0.90
fileFactLinesFunction · 0.90
fileKindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected