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.
Click to show internal directories.
Click to hide internal directories.