#include <dirent.h>
#include <stddef.h>
#include <fstream>
#include <iostream>
#include <memory>
#include <set>
#include <string>
#include <string_view>
#include "base/base64.h"
#include "base/containers/heap_array.h"
#include "base/hash/md5.h"
#include "third_party/zlib/google/compression_utils_portable.h"
namespace {
const char kFilePathDelimiter = …;
const int kMD5HashLength = …;
bool MD5Sum(const std::string& path, std::string* digest_string) { … }
void MakeFileSetHelper(const std::string& path,
std::set<std::string>& file_set) { … }
std::vector<std::string> MakeFileSet(const char** files) { … }
std::vector<std::string> StringSplit(const std::string& str, char delim) { … }
std::vector<std::string> MakeFileListFromCompressedList(const char* data) { … }
}
int main(int argc, const char* argv[]) { … }