inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
inode_mapper.hpp File Reference
#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)
 

Macro Definition Documentation

◆ LIB_BIN_NAME

#define LIB_BIN_NAME   "lib.bin"

◆ LIB_SYNC_NAME

#define LIB_SYNC_NAME   "lib.sync"

Function Documentation

◆ processCacheFile()

void processCacheFile ( const std::string & cacheFilePath,
RedBlackTree & rbt,
InodeFileMapper & mapper )

◆ processDirectory()

void processDirectory ( const string & dirPath,
RedBlackTree & rbt,
InodeFileMapper & mapper )