notmuch/lib
Yuri Volchkov cec4a87539 database: move striping of trailing '/' into helper function
Stripping trailing character is not that uncommon
operation. Particularly, the next patch has to perform it as
well. Lets move it to the separate function to avoid code duplication.

Also the new function has a little improvement: if the character to
strip is repeated several times in the end of a string, function
strips them all.

Signed-off-by: Yuri Volchkov <yuri.volchkov@gmail.com>
2017-08-22 18:47:51 -03:00
..
add-message.cc lib: add notmuch_message_reindex 2017-08-01 21:17:47 -04:00
built-with.c lib: add built_with handling for XAPIAN_DB_RETRY_LOCK 2016-06-29 09:05:49 +02:00
config.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
database-private.h lib: isolate n_d_add_message and helper functions into own file 2017-08-01 21:17:47 -04:00
database.cc database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
directory.cc lib: update cached mtime in notmuch_directory_set_mtime 2016-08-23 20:58:46 -03:00
filenames.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
index.cc lib: paper over allocation difference 2017-07-14 21:23:52 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: factor out message-id parsing to separate file. 2017-08-01 21:17:47 -04:00
message-file.c lib: refactor notmuch_database_add_message header parsing 2017-08-01 21:17:47 -04:00
message-id.c lib: factor out message-id parsing to separate file. 2017-08-01 21:17:47 -04:00
message-private.h lib: basic message-property API 2016-09-21 18:14:24 -03:00
message-property.cc Replace index(3) with strchr(3) 2017-04-20 06:59:22 -03:00
message.cc lib: add notmuch_message_reindex 2017-08-01 21:17:47 -04:00
messages.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-private.h lib: add notmuch_message_reindex 2017-08-01 21:17:47 -04:00
notmuch.h lib: clarify description of notmuch_database_add_message 2017-08-20 08:33:46 -03:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc build: visibility=default for library structs is no longer needed 2017-05-13 08:38:18 -03:00
regexp-fields.cc lib: Add regexp expansion for for tags and paths 2017-05-09 07:44:29 -03:00
regexp-fields.h lib: Add regexp searching for mid: prefix 2017-05-09 07:44:15 -03:00
sha1.c lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
string-list.c lib: add notmuch_message_count_files 2017-08-01 21:17:47 -04:00
string-map.c lib: add talloc reference from string map iterator to map 2016-09-24 10:08:45 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread.cc lib: add notmuch_thread_get_total_files 2017-08-01 21:17:47 -04:00