| 1234567891011121314151617181920212223242526272829303132333435363738 |
- #pragma once
- #include <map>
- #include <string>
- #include <vector>
- #include <deque>
- #include "exports.h"
- typedef std::deque<std::string> PathParts;
- namespace craftlab::fakeraid
- {
- typedef std::string CheckSum;
- struct File
- {
- std::string fileName;
- PathParts directory;
- bool isDir;
- int repositoryIndex;
- };
- struct FileAndSum: File
- {
- CheckSum checksum;
- };
- typedef std::vector<FileAndSum> FileAndSumList;
- struct FileAndSumListByRepositoryIndex
- {
- std::vector<FileAndSumList> FileAndSumListByRepositoryIndex;
- std::map<std::string, FileAndSum> FileList;
- std::string lastInsertedFilename;
- ENGINEAPI_EXPORT size_t ExistingFileCount() const;
- };
- }
|