blob 3e1b07c60224777ad8d5f79c9d5a1427bbafffa8 286 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
13
14
| | #include <iostream>
#include <cstdlib>
#include <xapian.h>
int main(int argc, char **argv) {
if (argc < 2) {
std::cerr << "usage: ghost-report xapian-dir" << std::endl;
exit(1);
}
Xapian::Database db(argv[1]);
std::cout << db.get_termfreq("Tghost") << std::endl;
}
|
debug log:
solving 3e1b07c6 ...
found 3e1b07c6 in https://yhetil.org/notmuch.git/
(*) 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).