22 void push_back(std::string
path, uint64_t file_size, uint64_t modified);
24 inline const char*
path(uint64_t entry_index)
const {
std::ostream & operator<<(std::ostream &out, const stardock::Index &index)
Definition index.cc:43
uint64_t path_index
Definition index.hh:11
uint64_t file_size
Definition index.hh:12
uint64_t modified
Definition index.hh:13
void sort()
Definition index.cc:97
bool dump(std::string path) const
Definition index.cc:12
Entry * entries
Definition index.hh:16
char * paths
Definition index.hh:15
void clear()
Definition index.cc:83
uint64_t entries_size
Definition index.hh:19
bool load(std::string path)
Definition index.cc:25
uint64_t n_of_entries
Definition index.hh:17
void push_back(std::string path, uint64_t file_size, uint64_t modified)
Definition index.cc:57
const char * path(uint64_t entry_index) const
Definition index.hh:24
uint64_t paths_size
Definition index.hh:20
uint64_t n_of_chars
Definition index.hh:18