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

Function removeEndSlash

utils.c:297–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297int removeEndSlash(char *path) {
298 int len = strlen(path);
299
300 if (path[len - 1] == '/') {
301 path[len - 1] = '\0';
302 return 1;
303 }
304
305 return 0;
306}
307
308int addEndSlash(char *path) {
309 int len = strlen(path);

Callers 8

_findArchiveNodeFunction · 0.85
initPropertyDialogFunction · 0.85
fileListAddEntryFunction · 0.85
dirUpFunction · 0.85
dialogStepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected