unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 1739be468977538d3d97248f0116f1efbc06e05e 257 bytes (raw)
name: test/ghost-report.cc 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#include <iostream>
#include <xapian.h>

int main(int argc, char **argv) {

    if (argc < 2) {
	std::cerr << "usage: ghost-report xapian-dir" << std::endl;
    }

    Xapian::Database db(argv[1]);
    std::cout << db.get_termfreq("Tghost") << std::endl;
}

debug log:

solving 1739be4 ...
found 1739be4 in https://yhetil.org/notmuch/1460166892-29721-1-git-send-email-dkg@fifthhorseman.net/ ||
	https://yhetil.org/notmuch/1460163754-22994-1-git-send-email-dkg@fifthhorseman.net/ ||
	https://yhetil.org/notmuch/1459613942-13098-2-git-send-email-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/1460166892-29721-1-git-send-email-dkg@fifthhorseman.net/
diff --git a/test/ghost-report.cc b/test/ghost-report.cc
new file mode 100644
index 0000000..1739be4

Checking patch test/ghost-report.cc...
Applied patch test/ghost-report.cc cleanly.

skipping https://yhetil.org/notmuch/1460163754-22994-1-git-send-email-dkg@fifthhorseman.net/ for 1739be4
skipping https://yhetil.org/notmuch/1459613942-13098-2-git-send-email-david@tethera.net/ for 1739be4
index at:
100644 1739be468977538d3d97248f0116f1efbc06e05e	test/ghost-report.cc

(*) 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).