pad

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package pad defines constants for encrypted scratchpad blob storage and file management.

Index

Constants

View Source
const (
	// BlobSep separates the label from the base64-encoded file content.
	BlobSep = ":::"
	// MaxBlobSize is the maximum file size (pre-encoding) allowed for blob entries.
	MaxBlobSize = 64 * 1024
	// BlobTag is the display tag appended to blob labels.
	BlobTag = " [BLOB]"
)

Scratchpad blob constants.

View Source
const (
	// Enc is the encrypted scratchpad file.
	Enc = "scratchpad.enc"
	// EncOurs is the merge conflict "ours" variant.
	EncOurs = Enc + ".ours"
	// EncTheirs is the merge conflict "theirs" variant.
	EncTheirs = Enc + ".theirs"
	// Md is the plaintext scratchpad file.
	Md = "scratchpad.md"
)

Scratchpad file constants for .context/ directory.

View Source
const (
	SideOurs   = "OURS"
	SideTheirs = "THEIRS"
)

Merge conflict side labels.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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