Skip to main content

SCOPE_SHAPE

Constant SCOPE_SHAPE 

Source
pub const SCOPE_SHAPE: &str = "[a-z0-9._/-]+";
Expand description

The one commit scope shape.

A bracket expression, lowercase, admitting the digits and _ . / - beside the letters, so area/subarea reads as one scope. It holds the shape of a scope and never its vocabulary: the word itself is the author’s, guided by the routing block and by the repository’s own history. One owner by token — the title checks take it as RK_SCOPE_SHAPE through render, and rk message --check reads it directly, so the desk and the forge judge one language.