| 123456789101112131415161718192021222324252627282930 |
- #pragma once
- #include <map>
- #include <string>
- #include <vector>
- namespace craftlab::fakeraid
- {
- typedef std::string CheckSum;
- struct File
- {
- std::string fileName;
- 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;
- };
- }
|