MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / findRule

Function findRule

packages/bumpy/test/helpers-shell-mock.ts:42–44  ·  view source on GitHub ↗
(cmdString: string)

Source from the content-addressed store, hash-verified

40}
41
42function findRule(cmdString: string): MockRule | undefined {
43 return rules.find((r) => matchCommand(cmdString, r));
44}
45
46/**
47 * Install the shell mock interceptor.

Callers 1

installShellMockFunction · 0.85

Calls 1

matchCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…