Skip to main content

class_of

Function class_of 

Source
pub fn class_of(url: &str) -> Class
Expand description

The class a URL is charged to, mirroring the accept loop’s own routing order (the API prefix is matched before the git fallback, so a path that contains both spellings lands in the same bucket the router will actually use).