on startup, check integrity of cached files and remove old cached files

This commit is contained in:
josch
2014-12-30 14:01:48 +01:00
parent 9913f2948c
commit 3fbb3b01ff
4 changed files with 236 additions and 3 deletions

View File

@@ -53,6 +53,9 @@ int folder_tree_store(folder_tree * tree, FILE * stream);
folder_tree *folder_tree_load(FILE * stream, const char *filecache);
void folder_tree_cleanup_filecache(folder_tree *tree,
uint64_t allowed_size);
bool folder_tree_path_exists(folder_tree * tree, mfconn * conn,
const char *path);