#include "rbtree.hpp"
#include <cstring>
#include <dirent.h>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <unordered_map>
Go to the source code of this file.
Classes | |
class | InodeFileMapper |
Macros | |
#define | LIB_SYNC_NAME "lib.sync" |
#define | LIB_BIN_NAME "lib.bin" |
Functions | |
void | processDirectory (const string &dirPath, RedBlackTree &rbt, InodeFileMapper &mapper) |
void | processCacheFile (const std::string &cacheFilePath, RedBlackTree &rbt, InodeFileMapper &mapper) |
#define LIB_BIN_NAME "lib.bin" |
#define LIB_SYNC_NAME "lib.sync" |
void processCacheFile | ( | const std::string & | cacheFilePath, |
RedBlackTree & | rbt, | ||
InodeFileMapper & | mapper ) |
void processDirectory | ( | const string & | dirPath, |
RedBlackTree & | rbt, | ||
InodeFileMapper & | mapper ) |