Documentation ¶
Overview ¶
Package kythe implements the kcd.Unit interface for Kythe compilations.
Index ¶
Constants ¶
View Source
const Format = "kythe"
Format is the format key used to denote Kythe compilations, stored as kythe.proto.CompilationUnit messages.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Unit ¶
type Unit struct{ Proto *apb.CompilationUnit }
Unit implements the kcd.Unit interface for Kythe compilations.
func (Unit) Canonicalize ¶ added in v0.0.27
func (u Unit) Canonicalize()
Canonicalize satisfies part of the kcd.Unit interface. It orders required inputs by the digest of their contents, orders environment variables and source paths by name, and orders compilation details by their type URL.
func (Unit) LookupVName ¶ added in v0.0.61
LookupVName satisfies part of the kcd.Unit interface.
func (Unit) MarshalBinary ¶
MarshalBinary satisfies the encoding.BinaryMarshaler interface.
func (Unit) MarshalJSON ¶
MarshalJSON satisfies the json.Marshaler interface.
Click to show internal directories.
Click to hide internal directories.