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

Function toml_lines_significant

src/cli/config_toml_edit.c:1976–1985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1974}
1975
1976static int toml_lines_significant(const char *data, size_t start, size_t end) {
1977 size_t cursor = start;
1978 toml_line_t line;
1979 while (toml_next_line(data, end, &cursor, &line)) {
1980 if (!toml_line_is_blank_or_comment(data, &line)) {
1981 return 1;
1982 }
1983 }
1984 return 0;
1985}
1986
1987/* Declared table `table` (1-based) of the block, or the number of declared
1988 * tables in *count when table is 0. */

Callers 1

toml_managed_rewriteFunction · 0.85

Calls 2

toml_next_lineFunction · 0.85

Tested by

no test coverage detected