unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob cc5d666dcc2fda0cd8b7ca3afbeb2f9d5a0f04e6 296 bytes (raw)
name: bindings/ruby/tags.c 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#include "defs.h"

VALUE
notmuch_rb_tags_get (notmuch_tags_t *tags)
{
    VALUE rb_array = rb_ary_new();
    for (; notmuch_tags_valid (tags); notmuch_tags_move_to_next (tags)) {
	const char *tag = notmuch_tags_get (tags);
	rb_ary_push (rb_array, rb_str_new2 (tag));
    }
    return rb_array;
}

debug log:

solving cc5d666d ...
found cc5d666d in https://yhetil.org/notmuch/20230322234346.70537-4-felipe.contreras@gmail.com/
found cad17d4c in https://yhetil.org/notmuch/20230322234346.70537-3-felipe.contreras@gmail.com/
found cc6ea59e in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100644 cc6ea59ece07ca5aacfebc8d776f28c54b593992	bindings/ruby/tags.c

applying [1/2] https://yhetil.org/notmuch/20230322234346.70537-3-felipe.contreras@gmail.com/
diff --git a/bindings/ruby/tags.c b/bindings/ruby/tags.c
index cc6ea59e..cad17d4c 100644


applying [2/2] https://yhetil.org/notmuch/20230322234346.70537-4-felipe.contreras@gmail.com/
diff --git a/bindings/ruby/tags.c b/bindings/ruby/tags.c\r
index cad17d4c..cc5d666d 100644\r

Checking patch bindings/ruby/tags.c...
Applied patch bindings/ruby/tags.c cleanly.
Checking patch bindings/ruby/tags.c...
Applied patch bindings/ruby/tags.c cleanly.

index at:
100644 cc5d666dcc2fda0cd8b7ca3afbeb2f9d5a0f04e6	bindings/ruby/tags.c

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).