MCPcopy Index your code
hub / github.com/continuedev/continue / isGitCommitCommand

Function isGitCommitCommand

extensions/cli/src/telemetry/utils.ts:97–100  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

95 * Check if a command is a git commit command
96 */
97export function isGitCommitCommand(command: string): boolean {
98 const trimmed = command.trim().toLowerCase();
99 return trimmed.startsWith("git commit") || trimmed.startsWith("git-commit");
100}
101
102/**
103 * Check if a command is a pull request creation command

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected