diff options
author | Carl Worth <cworth@cworth.org> | 2009-12-17 14:33:34 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-01-06 10:32:05 -0800 |
commit | 50ae83a17feb1fc2f48fb8e51ef73da08ae4e2f2 (patch) | |
tree | b8d82d50eb7b79d254516ce983ab706856527e79 /notmuch-new.c | |
parent | ba12bf1f2625a34f960502a06ba8907445ef5257 (diff) |
lib: Rename set/get_timestamp to set/get_directory_mtime.
I've been suitably scolded by Keith for doing a premature
generalization that ended up just making the documentation more
convoluted. Fix that.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r-- | notmuch-new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-new.c b/notmuch-new.c index 21c9b6ac..2a929c56 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -146,7 +146,7 @@ add_files_recursive (notmuch_database_t *notmuch, path_mtime = st->st_mtime; - path_dbtime = notmuch_database_get_timestamp (notmuch, path); + path_dbtime = notmuch_database_get_directory_mtime (notmuch, path); num_entries = scandir (path, &namelist, 0, ino_cmp); if (num_entries == -1) { @@ -277,7 +277,7 @@ add_files_recursive (notmuch_database_t *notmuch, next = NULL; } - status = notmuch_database_set_timestamp (notmuch, path, path_mtime); + status = notmuch_database_set_directory_mtime (notmuch, path, path_mtime); if (status && ret == NOTMUCH_STATUS_SUCCESS) ret = status; |