mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
7e6e23c36e
The Ruby bindings were missing a way to get all the tags of the database. Now you should be able to access this with the public instance method `all_tags` of your database object. Example of use: notmuchdb = Notmuch::Database.new path, { :create => false, :mode => Notmuch::MODE_READ_ONLY } my_tags = notmuchdb.all_tags my_tags.each { |tag| print tag } my_tags.destroy! Amended by db: improve error reporting, add test |
||
---|---|---|
.. | ||
.gitignore | ||
database.c | ||
defs.h | ||
directory.c | ||
extconf.rb | ||
filenames.c | ||
init.c | ||
message.c | ||
messages.c | ||
query.c | ||
rdoc.sh | ||
README | ||
status.c | ||
tags.c | ||
thread.c | ||
threads.c |
To build the the notmuch ruby extension, run the following commands from the *top level* notmuch source directory: % ./configure % make ruby-bindings The generic documentation about building notmuch also applies.