blob 9d9e7a7fca5f735b90ebd46bde1d3f6e67dd2db6 291 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
15
16
17
| | #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 9d9e7a7f ...
found 9d9e7a7f 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).