contentid

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentHash

func ContentHash(content string) string

Return a 16-char hex content hash used for change detection.

func IdentifyNode

func IdentifyNode(source, parent string, siblingIndex int) string

Return an 11-char base62 node ID from structural position (stable across content edits).

func IdentifyPayload

func IdentifyPayload(namespace, payload string) string

Return an 11-char base62 node ID from a payload under a namespace (content-addressed; identical payloads dedupe).

Types

This section is empty.

Jump to

Keyboard shortcuts

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