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

Function checkFileExist

file.c:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104int checkFileExist(const char *file) {
105 SceUID fd = sceIoOpen(file, SCE_O_RDONLY, 0);
106 if (fd < 0)
107 return 0;
108
109 sceIoClose(fd);
110 return 1;
111}
112
113int checkFolderExist(const char *folder) {
114 SceUID dfd = sceIoDopen(folder);

Callers 14

open_archiveFunction · 0.85
makeHeadBinFunction · 0.85
fileBrowserHandleSymlinkFunction · 0.85
umountGamecardUx0Function · 0.85
umountUsbUx0Function · 0.85
initUsbFunction · 0.85
dialogStepsFunction · 0.85
getAlternativeCoverImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected