Skip to main content

UNKNOWN_OWNER

Constant UNKNOWN_OWNER 

Source
pub const UNKNOWN_OWNER: &str = "unknown-owner";
Expand description

Fallback owner used when a remote exposes a repo segment but no owner.

Why: #1220 nests sessions two levels deep (<owner>/<repo>); an owner-less remote (e.g. git@host:repo.git) would otherwise yield a one-level path and break the convention. A stable sentinel keeps the two-segment shape. What: "unknown-owner" — already slug-safe. Test: parse_repo_only_uses_unknown_owner.