Skip to main content

git_requirement

Function git_requirement 

Source
pub fn git_requirement(method: &str, url: &str) -> Option<(String, Level)>
Expand description

Repository and level a git smart-HTTP request needs.

None means the request names no repository, or names an operation outside the smart-HTTP surface. Both are denied when an ACL is configured, rather than falling through to the CGI handler.