Documentation
¶
Overview ¶
Package gitremote validates the portable, credential-free identity of Git remotes carried across WB session-move boundaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct {
Repository string
// contains filtered or unexported fields
}
Identity binds a repository slug to either a hosted Git service or one exact clean local path. Fields other than Repository remain private so diagnostics cannot accidentally expose a local path as a remote URL.
func (Identity) Equal ¶
Equal reports whether two safe remote spellings identify the same logical repository. SSH and HTTPS spellings on the same host compare equal; local remotes compare only when their clean absolute paths are exactly equal.
Click to show internal directories.
Click to hide internal directories.