Documentation ¶
Overview ¶
Binary directory_indexer produces a set of Entry protos representing the files in the given directories.
For instance, a file 'kythe/javatests/com/google/devtools/kythe/util/CAMPFIRE' would produce two entries:
{ "fact_name": "/kythe/node/kind", "fact_value": "file", "source": { "signature": "c2b0d93b83c1b0e22fd564278be1b0373b1dcb67ff3bb77c2f29df7c393fe580", "corpus": "kythe", "root": "", "path": "kythe/javatests/com/google/devtools/kythe/util/CAMPFIRE", "language": "" } } { "fact_name": "/kythe/text", "fact_value": "...", "source": { "signature": "c2b0d93b83c1b0e22fd564278be1b0373b1dcb67ff3bb77c2f29df7c393fe580", "corpus": "kythe", "root": "", "path": "kythe/javatests/com/google/devtools/kythe/util/CAMPFIRE", "language": "" } }
Usage:
directory_indexer --corpus kythe --root kythe ~/repo/kythe/ \ --exclude '^buildtools,^campfire-out,^third_party,~$,#$,(^|/)\.'
Click to show internal directories.
Click to hide internal directories.