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

Function gi_limits_valid

src/discover/gitignore_checked.c:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <string.h>
4
5static bool gi_limits_valid(const cbm_ignore_checked_limits_t *limits) {
6 return limits && limits->max_bytes && limits->max_work && limits->max_patterns &&
7 limits->max_patterns <= INT_MAX && limits->max_arena_bytes && limits->max_depth &&
8 limits->max_depth <= CBM_IGNORE_CHECKED_DEPTH_MAX;
9}
10
11static cbm_ignore_checked_status_t gi_open(const cbm_ignore_checked_limits_t *limits,
12 cbm_ignore_checked_t **out,

Callers 1

gi_openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected