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

Function fileListCopyEntry

file.c:677–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677FileListEntry *fileListCopyEntry(FileListEntry *src) {
678 FileListEntry *dst = malloc(sizeof(FileListEntry));
679 if (!dst)
680 return NULL;
681
682 memcpy(dst, src, sizeof(FileListEntry));
683 dst->name = malloc(src->name_length + 1);
684 strcpy(dst->name, src->name);
685 return dst;
686}
687
688FileListEntry *fileListFindEntry(FileList *list, const char *name) {
689 if (!list)

Callers 8

delete_threadFunction · 0.85
export_threadFunction · 0.85
send_threadFunction · 0.85
fileBrowserMenuCtrlFunction · 0.85
compress_threadFunction · 0.85
dialogStepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected