Documentation
¶
Overview ¶
Package detid computes the buf-style deterministic id for a module (or for a resolved commit hash).
It is shared by internal/connect (handler) and internal/providers/multisource (upstream trace), neither of which can import the other without creating a cycle. Keeping it in its own leaf package avoids the cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeterministicID ¶
DeterministicID hashes input into the 32-hex-char id buf uses to identify modules and commits in the wire protocol. It is not cryptographic; it is stable, deterministic, and matches buf's deterministicID function so that commit ids minted by this proxy round-trip through buf CLI invocations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.