Allow to skip the device/get_status call when calling folder_tree_update

- this is useful to safe one extra call when it is known that there
   should be changes on the remote. In that case it will immediately
   skip forward to calling device/get_changes
This commit is contained in:
josch
2014-12-04 16:21:39 +01:00
parent 71f6396a9a
commit 816d79438f
4 changed files with 22 additions and 15 deletions

View File

@@ -45,7 +45,8 @@ int folder_tree_readdir(folder_tree * tree, mfconn * conn,
const char *path, void *buf,
fuse_fill_dir_t filldir);
void folder_tree_update(folder_tree * tree, mfconn * conn);
void folder_tree_update(folder_tree * tree, mfconn * conn,
bool expect_changes);
int folder_tree_store(folder_tree * tree, FILE * stream);