MCPcopy Index your code
hub / github.com/assaultcube/AC / loopv

Function loopv

source/src/stream.cpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 if(findzipfile(filename)) return s;
261#endif
262 loopv(packagedirs)
263 {
264 findfilelocation++;
265 formatstring(s)("%s%s", packagedirs[i], filename);
266 if(fileexists(s, mode)) return s;
267 }
268 findfilelocation = FFL_WORKDIR;
269 return filename;
270}

Callers

nothing calls this directly

Calls 8

fileexistsFunction · 0.85
listsubdirFunction · 0.85
listdirFunction · 0.85
listfilesrecursiveFunction · 0.85
delstringFunction · 0.85
newstringFunction · 0.85
listdirsrecursiveFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected