MCPcopy Create free account
hub / github.com/TheOfficialFloW/VitaShell / hasEndSlash

Function hasEndSlash

utils.c:293–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293int hasEndSlash(const char *path) {
294 return path[strlen(path) - 1] == '/';
295}
296
297int removeEndSlash(char *path) {
298 int len = strlen(path);

Callers 10

getPsarcPathInfoFunction · 0.85
extractPsarcPathFunction · 0.85
exportPathFunction · 0.85
sendPathFunction · 0.85
getPathInfoFunction · 0.85
removePathFunction · 0.85
copyPathFunction · 0.85
movePathFunction · 0.85
zipAddPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected