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

Function th_make_executable

tests/test_helpers.h:208–214  ·  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

206/* Make a file executable. On Windows this is a no-op (all files are
207 * "executable" if they have the right extension). */
208static inline void th_make_executable(const char *path) {
209#ifndef _WIN32
210 chmod(path, 0755);
211#else
212 (void)path;
213#endif
214}
215
216/* ── Cleanup helper ───────────────────────────────────────────── */
217

Callers 2

test_cli.cFile · 0.85
repro_issue221.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected