21 #ifndef __ANTARES_VACUUM_IO_H__
22 #define __ANTARES_VACUUM_IO_H__
24 #include <yuni/io/file.h>
25 #ifndef YUNI_OS_WINDOWS
28 #include <yuni/core/string/wstring.h>
29 #include <yuni/core/system/windows.hdr.h>
32 #include <unordered_set>
39 extern std::atomic<int> IOBytesDeleted;
40 extern std::atomic<int> IOFilesDeleted;
41 extern std::atomic<int> IOFoldersDeleted;
44 extern std::unordered_set<YString> inputFolders;
51 bool RemoveFile(
const YString& filename, uint64_t size);
58 bool RemoveDirectoryIfEmpty(
const YString& folder);