Skip to main content

Module remoteid

Module remoteid 

Source
Expand description

Canonical remote identity (SPEC-GIT-IMPORT §8).

One normalization used by every binding, guard, and attestation remoteUrl field, so trivially-equivalent spellings of one remote compare equal. This is a safety net against accidents, not a security boundary — mirrors and redirects are undetectable, and the push lease remains the backstop.

Functions§

remote_identity
Compute the canonical identity of a destination/source string.