MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / readable

Function readable

Source/Misc/lua/src/lua.c:13100–13105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13098
13099
13100static int readable (const char *filename) {
13101FILE *f = fopen(filename, "r"); /* try to open file */
13102if (f == NULL) return 0; /* open failed */
13103fclose(f);
13104return 1;
13105}
13106
13107
13108static const char *pushnexttemplate (lua_State *L, const char *path) {

Callers 1

findfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected