Trash handling is too high level for FileUtil, move it up.

This commit is contained in:
Henrik Rydgård committed 2025-04-15 17:42:24 +02:00
1 parent ef2451fc45
commit 71533ac2b7
15 files changed
+118 -105

No files matched your search

+3 -3
View File
@@ -155,9 +155,6 @@ Path ResolvePBPFile(const Path &filename);
IdentifiedFileType Identify_File(FileLoader *fileLoader, std::string *errorString);
// Can modify the string filename, as it calls IdentifyFile above.
bool LoadFile(FileLoader **fileLoaderPtr, IdentifiedFileType type, std::string *error_string);
bool UmdReplace(const Path &filepath, FileLoader **fileLoader, std::string &error);
@@ -187,5 +184,8 @@ struct ZipFileInfo {
std::string contentName;
};
struct zip *ZipOpenPath(const Path &fileName);
void ZipClose(zip *z);
bool DetectZipFileContents(const Path &fileName, ZipFileInfo *info);
void DetectZipFileContents(struct zip *z, ZipFileInfo *info);