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

Function ws_is_sep

src/foundation/workspace.c:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27};
28
29static bool ws_is_sep(char c) {
30 return c == '/' || c == '\\';
31}
32
33/* Length of the volume prefix: "/" on POSIX, "C:/" for a drive, "//srv/share"
34 * for a UNC share. Returns 0 when the path is not absolute. */

Callers 6

ws_volume_prefix_lenFunction · 0.85
ws_is_uncFunction · 0.85
cbm_workspace_path_depthFunction · 0.85
ws_any_component_matchesFunction · 0.85
ws_is_ancestor_or_equalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected