revisionmap

package
v1.1.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxPlainRevisionCount specifies max number of plain revisions stored in status revision maps.
	MaxPlainRevisionCount = "MAX_PLAIN_REVISION_COUNT"
)

Variables

This section is empty.

Functions

func Decode

func Decode(revisions map[string]string) (map[string]string, error)

Decode returns the plain revision map from a status-safe revision map.

func Encode

func Encode(revisions map[string]string) (map[string]string, error)

Encode returns a status-safe revision map, compressing it when it exceeds the plain-entry limit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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