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

Function fileBrowserHandleFile

browser.c:662–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662static void fileBrowserHandleFile(FileListEntry *file_entry) {
663 snprintf(cur_file, MAX_PATH_LENGTH, "%s%s", file_list.path, file_entry->name);
664 int type = handleFile(cur_file, file_entry);
665
666 // Archive mode
667 if (type == FILE_TYPE_ARCHIVE && getDialogStep() != DIALOG_STEP_ENTER_PASSWORD) {
668 is_in_archive = 1;
669 dir_level_archive = dir_level;
670
671 snprintf(archive_path, MAX_PATH_LENGTH, "%s%s", file_list.path, file_entry->name);
672
673 strcat(file_list.path, file_entry->name);
674 addEndSlash(file_list.path);
675
676 dirLevelUp();
677 refreshFileList();
678 }
679}
680
681static void fileBrowserHandleFolder(FileListEntry *file_entry) {
682 if (strcmp(file_entry->name, DIR_UP) == 0) {

Callers 2

fileBrowserMenuCtrlFunction · 0.85
fileBrowserHandleSymlinkFunction · 0.85

Calls 5

handleFileFunction · 0.85
getDialogStepFunction · 0.85
addEndSlashFunction · 0.85
dirLevelUpFunction · 0.85
refreshFileListFunction · 0.85

Tested by

no test coverage detected