Directories ¶
Path | Synopsis |
---|---|
extractors
|
|
cmd/gotool
Binary gotool extracts Kythe compilation information for Go packages named by import path on the command line.
|
Binary gotool extracts Kythe compilation information for Go packages named by import path on the command line. |
golang
Package golang produces Kythe compilation units for each Go import path specified.
|
Package golang produces Kythe compilation units for each Go import path specified. |
govname
Package govname supports the creation of VName protobuf messages for Go packages and other entities.
|
Package govname supports the creation of VName protobuf messages for Go packages and other entities. |
platform
|
|
analysis
Package analysis defines interfaces used to locate and analyze compilation units and their inputs.
|
Package analysis defines interfaces used to locate and analyze compilation units and their inputs. |
analysis/driver
Package driver contains a Driver implementation that sends analyses to a CompilationAnalyzer based on a Queue of compilations.
|
Package driver contains a Driver implementation that sends analyses to a CompilationAnalyzer based on a Queue of compilations. |
analysis/local
Package local implements CompilationAnalyzer utilities for local analyses.
|
Package local implements CompilationAnalyzer utilities for local analyses. |
analysis/remote
Package remote contains kythe/go/platform/analysis implementations backed by remote RPC servers.
|
Package remote contains kythe/go/platform/analysis implementations backed by remote RPC servers. |
cache
Package cache implements a simple in-memory file cache and provides a simple Fetcher wrapper that uses the cache for its Fetch operations.
|
Package cache implements a simple in-memory file cache and provides a simple Fetcher wrapper that uses the cache for its Fetch operations. |
delimited
Package delimited implements a reader and writer for simple streams of length-delimited byte records.
|
Package delimited implements a reader and writer for simple streams of length-delimited byte records. |
indexpack
Package indexpack provides an interface to a collection of compilation units stored in an "index pack" directory structure.
|
Package indexpack provides an interface to a collection of compilation units stored in an "index pack" directory structure. |
kindex
Package kindex implements an interface to compilation index files which are standalone CompilationUnits with all of their required inputs.
|
Package kindex implements an interface to compilation index files which are standalone CompilationUnits with all of their required inputs. |
tools/analyzer_driver
Binary analyzer_driver drives a CompilationAnalyzer server as a subprocess.
|
Binary analyzer_driver drives a CompilationAnalyzer server as a subprocess. |
tools/dedup_stream
Binary dedup_stream reads a delimited stream from stdin and writes a delimited stream to stdout.
|
Binary dedup_stream reads a delimited stream from stdin and writes a delimited stream to stdout. |
tools/entrystream
Binary entrystream provides tools to manipulate a stream of delimited Entry messages.
|
Binary entrystream provides tools to manipulate a stream of delimited Entry messages. |
tools/indexpack
Binary indexpack is a utility to transfer compilations units in .kindex files to/from indexpack archives.
|
Binary indexpack is a utility to transfer compilations units in .kindex files to/from indexpack archives. |
tools/ktags
Binary ktags emits ctags-formatted lines for the definitions in the given files.
|
Binary ktags emits ctags-formatted lines for the definitions in the given files. |
tools/viewindex
Binary viewindex prints a .kindex as JSON to stdout.
|
Binary viewindex prints a .kindex as JSON to stdout. |
vfs
Package vfs defines a generic file system interface commonly used by Kythe libraries.
|
Package vfs defines a generic file system interface commonly used by Kythe libraries. |
vfs/gcs
Package gcs implements an indexpack VFS backed by Google Cloud Storage.
|
Package gcs implements an indexpack VFS backed by Google Cloud Storage. |
vfs/zip
Package zip defines a VFS implementation that understands a zip archive as an isolated, read-only file system.
|
Package zip defines a VFS implementation that understands a zip archive as an isolated, read-only file system. |
services
|
|
filetree
Package filetree defines the filetree Service interface and a simple in-memory implementation.
|
Package filetree defines the filetree Service interface and a simple in-memory implementation. |
graphstore
Package graphstore defines the Service and Sharded interfaces, and provides some useful utility functions.
|
Package graphstore defines the Service and Sharded interfaces, and provides some useful utility functions. |
graphstore/compare
Package compare implements comparisons between Kythe values as used in the implementation of a graphstore.Service.
|
Package compare implements comparisons between Kythe values as used in the implementation of a graphstore.Service. |
graphstore/grpc
Package grpc registers the "grpc" kind to the gsutil package.
|
Package grpc registers the "grpc" kind to the gsutil package. |
graphstore/proxy
Package proxy defines a proxy graphstore.Service that delegates requests to other service implementations.
|
Package proxy defines a proxy graphstore.Service that delegates requests to other service implementations. |
search
Package search defines a service to search for nodes from a partial VName and collection of facts.
|
Package search defines a service to search for nodes from a partial VName and collection of facts. |
web
Package web defines utility functions for exposing services over HTTP.
|
Package web defines utility functions for exposing services over HTTP. |
xrefs
Package xrefs defines the xrefs Service interface and some useful utility functions.
|
Package xrefs defines the xrefs Service interface and some useful utility functions. |
serving
|
|
api
Package api provides a union of the filetree, xrefs, and search interfaces and a command-line flag parser.
|
Package api provides a union of the filetree, xrefs, and search interfaces and a command-line flag parser. |
filetree
Package filetree implements a lookup table for files in a tree structure.
|
Package filetree implements a lookup table for files in a tree structure. |
pipeline
Package pipeline implements an in-process pipeline to create a combined filetree and xrefs serving table from a graphstore Service.
|
Package pipeline implements an in-process pipeline to create a combined filetree and xrefs serving table from a graphstore Service. |
search
Package search provides an inverted index implemenation of the search.Service interface.
|
Package search provides an inverted index implemenation of the search.Service interface. |
tools/http_server
Binary http_server exposes HTTP/GRPC interfaces for the search, xrefs, and filetree services backed by either a combined serving table or a bare GraphStore.
|
Binary http_server exposes HTTP/GRPC interfaces for the search, xrefs, and filetree services backed by either a combined serving table or a bare GraphStore. |
tools/kwazthis
Binary kwazthis (K, what's this?) determines what references are located at a particular offset (or line and column) within a file.
|
Binary kwazthis (K, what's this?) determines what references are located at a particular offset (or line and column) within a file. |
tools/kythe
Binary kythe exposes a CLI interface to the xrefs and filetree services backed by a combined serving table.
|
Binary kythe exposes a CLI interface to the xrefs and filetree services backed by a combined serving table. |
tools/write_tables
Binary write_tables creates a combined xrefs/filetree/search serving table based on a given GraphStore.
|
Binary write_tables creates a combined xrefs/filetree/search serving table based on a given GraphStore. |
xrefs
Package xrefs provides a high-performance serving table implementation of the xrefs.Service.
|
Package xrefs provides a high-performance serving table implementation of the xrefs.Service. |
xrefs/assemble
Package assemble provides functions to build the various components (nodes, edges, and decorations) of an xrefs serving table.
|
Package assemble provides functions to build the various components (nodes, edges, and decorations) of an xrefs serving table. |
storage
|
|
files
Package files declares the FileStore interface and implements a single in-memory FileStore
|
Package files declares the FileStore interface and implements a single in-memory FileStore |
gsutil
Package gsutil is collection of helper functions for storage tools.
|
Package gsutil is collection of helper functions for storage tools. |
inmemory
Package inmemory implements a simple in-memory graphstore.Service.
|
Package inmemory implements a simple in-memory graphstore.Service. |
keyvalue
Package keyvalue implements a generic GraphStore for anything that implements the DB interface.
|
Package keyvalue implements a generic GraphStore for anything that implements the DB interface. |
leveldb
Package leveldb implements a graphstore.Service using a LevelDB backend database.
|
Package leveldb implements a graphstore.Service using a LevelDB backend database. |
sql
Package sql implements a graphstore.Service using a SQL database backend.
|
Package sql implements a graphstore.Service using a SQL database backend. |
stream
Package stream provides utility functions to consume Entry streams.
|
Package stream provides utility functions to consume Entry streams. |
table
Package table implements lookup table interfaces for protobufs.
|
Package table implements lookup table interfaces for protobufs. |
tools/directory_indexer
Binary directory_indexer produces a set of Entry protos representing the files in the given directories.
|
Binary directory_indexer produces a set of Entry protos representing the files in the given directories. |
tools/read_entries
Binary read_entries scans the entries from a specified GraphStore and emits them to stdout as a delimited stream.
|
Binary read_entries scans the entries from a specified GraphStore and emits them to stdout as a delimited stream. |
tools/triples
Binary triples implements a converter from an Entry stream to a stream of triples.
|
Binary triples implements a converter from an Entry stream to a stream of triples. |
tools/write_entries
Binary write_entries reads a stream of protobuf entries on os.Stdin and writes each to a graphstore server.
|
Binary write_entries reads a stream of protobuf entries on os.Stdin and writes each to a graphstore server. |
vnameutil
Package vnameutil provides utilities for generating consistent VNames from common path-like values (e.g., filenames, import paths).
|
Package vnameutil provides utilities for generating consistent VNames from common path-like values (e.g., filenames, import paths). |
xrefs
Package xrefs contains a simple implementation of the xrefs.Service interface backed by a graphstore.Service.
|
Package xrefs contains a simple implementation of the xrefs.Service interface backed by a graphstore.Service. |
test
|
|
services/graphstore
Package graphstore contains common utilities for testing GraphStore implementations.
|
Package graphstore contains common utilities for testing GraphStore implementations. |
storage/keyvalue
Package keyvalue contains utilities to test keyvalue DB implementations.
|
Package keyvalue contains utilities to test keyvalue DB implementations. |
testutil
Package testutil contains common utilities to test Kythe libraries.
|
Package testutil contains common utilities to test Kythe libraries. |
tools/http_server
Binary http_server exposes an HTTP interface for testing the search, xrefs, and filetree services backed by a combined serving table.
|
Binary http_server exposes an HTTP interface for testing the search, xrefs, and filetree services backed by a combined serving table. |
util
|
|
datasize
Package datasize implements a type representing data sizes in bytes.
|
Package datasize implements a type representing data sizes in bytes. |
dedup
Package dedup implements a utility to determine if a record has not been seen before (whether it's unique).
|
Package dedup implements a utility to determine if a record has not been seen before (whether it's unique). |
encoding/rdf
Package rdf implements encoding of RDF triples, as described in http://www.w3.org/TR/2014/REC-n-triples-20140225/.
|
Package rdf implements encoding of RDF triples, as described in http://www.w3.org/TR/2014/REC-n-triples-20140225/. |
encoding/text
Package text contains utilities dealing with the encoding of source text.
|
Package text contains utilities dealing with the encoding of source text. |
flagutil
Package flagutil is a collection of helper functions for Kythe binaries using the flag package.
|
Package flagutil is a collection of helper functions for Kythe binaries using the flag package. |
html
Package html is a set of utilities for manipulating html Nodes.
|
Package html is a set of utilities for manipulating html Nodes. |
httpencoding
Package httpencoding provides functions to transparently encode/decode HTTP bodies
|
Package httpencoding provides functions to transparently encode/decode HTTP bodies |
kytheuri
Package kytheuri provides a type to represent Kythe URIs.
|
Package kytheuri provides a type to represent Kythe URIs. |
netutil
Package netutil provides network utility functions.
|
Package netutil provides network utility functions. |
oauth2
Package oauth2 implements a utility Config that can be made a flag and turned into a proper Context or http Client for use with Google apis.
|
Package oauth2 implements a utility Config that can be made a flag and turned into a proper Context or http Client for use with Google apis. |
process
Package process contains an implementation of a callback-based asynchronous process.
|
Package process contains an implementation of a callback-based asynchronous process. |
profile
Package profile provides a simple method for exposing profile information through a --cpu_profile flag.
|
Package profile provides a simple method for exposing profile information through a --cpu_profile flag. |
schema
Package schema defines constants used in the Kythe schema.
|
Package schema defines constants used in the Kythe schema. |
stringset
Package stringset contains a simple set implementation.
|
Package stringset contains a simple set implementation. |
tools/print_extra_action
Binary print_extra_action takes a single argument that is a path to file with an protobuf wire-encoding of a Bazel ExtraActionInfo and prints it as JSON to stdout.
|
Binary print_extra_action takes a single argument that is a path to file with an protobuf wire-encoding of a Bazel ExtraActionInfo and prints it as JSON to stdout. |
tools/print_test_status
Binary print_test_status takes a single argument that is a path to file with an protobuf wire-encoding of a Bazel TestResultData and prints it as JSON to stdout.
|
Binary print_test_status takes a single argument that is a path to file with an protobuf wire-encoding of a Bazel TestResultData and prints it as JSON to stdout. |
Click to show internal directories.
Click to hide internal directories.