Directories ¶
Path | Synopsis |
---|---|
extractors
|
|
bazel
Package bazel implements the internal plumbing of a Bazel extractor for Go.
|
Package bazel implements the internal plumbing of a Bazel extractor for Go. |
cmd/bazel
bazel_go_extractor is a Bazel extra action that extracts Go compilations.
|
bazel_go_extractor is a Bazel extra action that extracts Go compilations. |
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. |
Package indexer implements a Kythe indexer for the Go language.
|
Package indexer implements a Kythe indexer for the Go language. |
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. |
delimited/dedup
Package dedup implements a duplication-reducing reader for streams of length-delimited byte records.
|
Package dedup implements a duplication-reducing reader for 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. |
kcd
Package kcd defines an interface and utility functions for the implementation of a Kythe compilation database.
|
Package kcd defines an interface and utility functions for the implementation of a Kythe compilation database. |
kcd/kythe
Package kythe implements the kcd.Unit interface for Kythe compilations.
|
Package kythe implements the kcd.Unit interface for Kythe compilations. |
kcd/locked
Package locked implements a delegating wrapper that protects each method of the resulting kcd.Reader or kcd.ReadWriter with a mutex, so that the result is safe for concurrent use by multiple goroutines.
|
Package locked implements a delegating wrapper that protects each method of the resulting kcd.Reader or kcd.ReadWriter with a mutex, so that the result is safe for concurrent use by multiple goroutines. |
kcd/memdb
Package memdb implements kcd.ReadWriter with an in-memory representation, suitable for testing or ephemeral service-based collections.
|
Package memdb implements kcd.ReadWriter with an in-memory representation, suitable for testing or ephemeral service-based collections. |
kcd/packdb
Package packdb implements kcd.ReadWriter using an index pack as its backing store.
|
Package packdb implements kcd.ReadWriter using an index pack as its backing store. |
kcd/testutil
Package testutil provides support functions for unit testing implementations of the kcd.ReadWriter interface.
|
Package testutil provides support functions for unit testing implementations of the kcd.ReadWriter interface. |
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/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. |
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 and xrefs interfaces and a command-line flag parser.
|
Package api provides a union of the filetree and xrefs 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 stream of GraphStore-ordered entries.
|
Package pipeline implements an in-process pipeline to create a combined filetree and xrefs serving table from a stream of GraphStore-ordered entries. |
pipeline/paths
Package paths specializes the util/reduce interfaces for Kythe *ipb.Paths.
|
Package paths specializes the util/reduce interfaces for Kythe *ipb.Paths. |
pq
Package pq implements the Kythe serving api.Interface using a Postgres database backend.
|
Package pq implements the Kythe serving api.Interface using a Postgres database backend. |
tools/http_server
Binary http_server exposes HTTP/GRPC interfaces for the xrefs and filetree services backed by either a combined serving table or a bare GraphStore.
|
Binary http_server exposes HTTP/GRPC interfaces for the 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/pq
Binary pq is an experimental tool to populate a Postgres database with Kythe serving data and serve it through Kythe's standard HTTP interface.
|
Binary pq is an experimental tool to populate a Postgres database with Kythe serving data and serve it through Kythe's standard HTTP interface. |
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 table-based implementation of the xrefs.Service.
|
Package xrefs provides a high-performance table-based 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
|
|
gsutil
Package gsutil is collection of helper functions for storage tools.
|
Package gsutil is collection of helper functions for storage tools. |
inmemory
Package inmemory provides a in-memory implementation of graphstore.Service.
|
Package inmemory provides a in-memory implementation of 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. |
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. |
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 xrefs and filetree services backed by a combined serving table.
|
Binary http_server exposes an HTTP interface for testing the xrefs and filetree services backed by a combined serving table. |
util
|
|
archive
Package archive provides support for reading the contents of archives such as .zip and .tar files.
|
Package archive provides support for reading the contents of archives such as .zip and .tar files. |
build
Package build provides information about how a given binary was built and in what context.
|
Package build provides information about how a given binary was built and in what context. |
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). |
disksort
Package disksort implements sorting algorithms for sets of data too large to fit fully in-memory.
|
Package disksort implements sorting algorithms for sets of data too large to fit fully in-memory. |
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. |
pager
Package pager implements a generic SetPager that splits a stream of Groups into a single Set and one-or-more associated Pages.
|
Package pager implements a generic SetPager that splits a stream of Groups into a single Set and one-or-more associated Pages. |
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. |
ptypes
Package ptypes is a thin wrapper around the golang.org/protobuf/ptypes package that adds support for Kythe message types, and handles some type format conversions.
|
Package ptypes is a thin wrapper around the golang.org/protobuf/ptypes package that adds support for Kythe message types, and handles some type format conversions. |
reduce
Package reduce provides a simple interface for transforming a stream of inputs.
|
Package reduce provides a simple interface for transforming a stream of inputs. |
schema
Package schema defines constants used in the Kythe schema.
|
Package schema defines constants used in the Kythe schema. |
schema/edges
Package edges defines constants for Kythe edges.
|
Package edges defines constants for Kythe edges. |
schema/facts
Package facts defines constants for Kythe facts.
|
Package facts defines constants for Kythe facts. |
schema/nodes
Package nodes defines constants for Kythe nodes.
|
Package nodes defines constants for Kythe nodes. |
sortutil
Package sortutil implements utilities for sorting.
|
Package sortutil implements utilities for sorting. |
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. |
tools/scan_leveldb
Binary scan_leveldb is the cat command for LevelDB.
|
Binary scan_leveldb is the cat command for LevelDB. |
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). |
Click to show internal directories.
Click to hide internal directories.