package version

Import Path
	internal/trace/v2/version (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 3 packages

Involved Source Files version.go
Package-Level Type Names (only one)
/* sort by: | */
Version represents the version of a trace file. Specs returns the set of event.Specs for this version. ( Version) Valid() bool func ReadHeader(r io.Reader) (Version, error) func internal/trace/v2/raw.(*Reader).Version() Version func internal/trace/v2/raw.(*TextReader).Version() Version func WriteHeader(w io.Writer, v Version) (int, error) func internal/trace/v2/raw.NewTextWriter(w io.Writer, v Version) (*raw.TextWriter, error) func internal/trace/v2/raw.NewWriter(w io.Writer, v Version) (*raw.Writer, error) const Current const Go122
Package-Level Functions (total 2)
ReadHeader reads the version of the trace out of the trace file's header, whose prefix must be present in v.
WriteHeader writes a header for a trace version v to w.
Package-Level Constants (total 2)
const Current Version = 22
const Go122 Version = 22