| 1086 | } |
| 1087 | |
| 1088 | int fileListGetEntries(FileList *list, const char *path, int sort) { |
| 1089 | if (!list) |
| 1090 | return VITASHELL_ERROR_ILLEGAL_ADDR; |
| 1091 | |
| 1092 | if (isInArchive()) { |
| 1093 | return fileListGetArchiveEntries(list, path, sort); |
| 1094 | } |
| 1095 | |
| 1096 | if (strcasecmp(path, HOME_PATH) == 0) { |
| 1097 | return fileListGetDeviceEntries(list); |
| 1098 | } |
| 1099 | |
| 1100 | return fileListGetDirectoryEntries(list, path, sort); |
| 1101 | } |
| 1102 | |
| 1103 | // returns < 0 on error |
| 1104 | int resolveSimLink(Symlink *symlink, const char *path) { |
no test coverage detected