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

Function frozen_same_path

src/pipeline/pipeline.c:4817–4823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4815}
4816
4817static bool frozen_same_path(const char *a, const char *b) {
4818 while (*a && *b && frozen_path_char((unsigned char)*a) == frozen_path_char((unsigned char)*b)) {
4819 a++;
4820 b++;
4821 }
4822 return *a == '\0' && *b == '\0';
4823}
4824
4825static bool frozen_under_root(const char *root, const char *path) {
4826 size_t i = 0;

Callers 1

frozen_check_directoriesFunction · 0.85

Calls 1

frozen_path_charFunction · 0.85

Tested by

no test coverage detected