mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user