MCPcopy Create free account
hub / github.com/F-Stack/f-stack / readable

Function readable

app/redis-6.2.6/deps/lua/src/loadlib.c:332–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330
331
332static int readable (const char *filename) {
333 FILE *f = fopen(filename, "r"); /* try to open file */
334 if (f == NULL) return 0; /* open failed */
335 fclose(f);
336 return 1;
337}
338
339
340static const char *pushnexttemplate (lua_State *L, const char *path) {

Callers 1

findfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected