From 0fed0341faeb7bf82d5dec8477d5376cd20c9236 Mon Sep 17 00:00:00 2001 From: josch Date: Tue, 30 Dec 2014 14:17:15 +0100 Subject: [PATCH] update TODO list --- README.md | 6 ++++++ TODO | 2 ++ fuse/hashtbl.c | 10 ++-------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1e48d8c..a9360ea 100644 --- a/README.md +++ b/README.md @@ -95,3 +95,9 @@ the `-d` option and send in the generated output on the terminal. While the fuse filesystem is not mounted, it is always safe to remove your local cache as it will be retrieved again from the remote. + +TODO +==== + +For missing features that could be implemented in the future, have a look at +the file `TODO`. diff --git a/TODO b/TODO index f1fc027..7fa27fe 100644 --- a/TODO +++ b/TODO @@ -18,4 +18,6 @@ - delete patches in cache that have been applied - after uploading a file it is immediately downloaded - instead, the existing local file should be used by checking the remote hash - add an option to only call device/get_status in configurable intervals + - add an option to make file cache size configurable - write man pages + - username and password must be urlencoded in mfapi/apicalls/user_get_session_token.c diff --git a/fuse/hashtbl.c b/fuse/hashtbl.c index 5af5a64..3eac25c 100644 --- a/fuse/hashtbl.c +++ b/fuse/hashtbl.c @@ -1715,14 +1715,8 @@ void folder_tree_housekeep(folder_tree * tree, mfconn * conn) } } - /* TODO: remove unreferenced cached files */ - - /* - * for file in cache directory: - * e = folder_tree_lookup_key(file.key) - * if e == None: - * delete(file) - */ + /* TODO: should this routine call folder_tree_cleanup_filecache to remove + * unreferenced or outdated files in the cache? */ } void folder_tree_debug_helper(folder_tree * tree, struct h_entry *ent,