consistency

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRevisionFromContext

func MustRevisionFromContext(ctx context.Context) (datastore.Revision, *v1.ZedToken)

MustRevisionFromContext reads the selected revision out of a context.Context, computes a zedtoken from it, and panics if it has not been set on the context.

func RevisionFromContext

func RevisionFromContext(ctx context.Context) datastore.Revision

RevisionFromContext reads the selected revision out of a context.Context and returns nil if it does not exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL