Skip to main content

Module remote

Module remote 

Source
Expand description

Remote configuration management.

Remote aliases remain repository-scoped and live in .heddle/remotes.toml.

Structs§

Remote
RemoteConfig
RemotesFile

Enums§

RemoteError
RemoteTarget
A remote target - either a network address or a local path.

Functions§

credential_key_from_remote_url
Extract the hostname (credential store key) from a remote URL string.
remote_allows_insecure
Whether a named remote (or the default) has insecure = true in .heddle/remotes.toml. Returns false for URL specs / missing remotes.
resolve_remote
Resolve a remote argument (name or URL) into a concrete target.
resolve_remote_with_key
Resolve a remote argument (name or URL) into a concrete target, also returning the raw URL string that can be used as a credential store key.
resolve_remote_with_key_and_insecure
Resolve a remote argument into target, credential key, and the remote’s configured insecure flag (false for ad-hoc URL specs).

Type Aliases§

Result