MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / readable

Function readable

src/Chain/libraries/glua/loadlib.cpp:382–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381
382static int readable(const char *filename) {
383 FILE *f = fopen(filename, "r"); /* try to open file */
384 if (f == nullptr) return 0; /* open failed */
385 fclose(f);
386 return 1;
387}
388
389
390static const char *pushnexttemplate(lua_State *L, const char *path) {

Callers 1

searchpathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected