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

Function cbm_build_augment_command_windows

src/cli/cli.c:3970–3977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3968}
3969
3970static int cbm_build_augment_command_windows(const char *binary_path, char *out, size_t out_size) {
3971 char quoted[CLI_BUF_8K];
3972 if (cbm_powershell_quote_word(binary_path, quoted, sizeof(quoted)) != CLI_OK) {
3973 return CLI_ERR;
3974 }
3975 int written = snprintf(out, out_size, "& %s hook-augment", quoted);
3976 return written > 0 && (size_t)written < out_size ? CLI_OK : CLI_ERR;
3977}
3978
3979static int cbm_build_dialect_hook_command(const char *binary_path, const char *dialect,
3980 bool windows, char *command, size_t command_size,

Calls 1

Tested by

no test coverage detected