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

Function th_make_executable

tests/test_helpers.h:154–160  ·  view source on GitHub ↗

Make a file executable. On Windows this is a no-op (all files are * "executable" if they have the right extension). */

Source from the content-addressed store, hash-verified

152/* Make a file executable. On Windows this is a no-op (all files are
153 * "executable" if they have the right extension). */
154static inline void th_make_executable(const char *path) {
155#ifndef _WIN32
156 chmod(path, 0755);
157#else
158 (void)path;
159#endif
160}
161
162/* ── Cleanup helper ───────────────────────────────────────────── */
163

Callers 2

test_cli.cFile · 0.85
repro_issue221.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected