module
Crit::Routes::Git
Overview
Git client routes module
Handles HTTP requests from Git clients for operations like push, pull, clone, etc. by forwarding them to git-http-backend.
Defined in:
routes/git.crConstant Summary
-
Log =
::Log.for(self)
-
Set up a dedicated logger for Git routes
Class Method Summary
-
.extract_path_info(env, name)
Extracts path_info from the request URL
-
.setup
Sets up Git HTTP routes
Class Method Detail
def self.extract_path_info(env, name)
#
Extracts path_info from the request URL
@param env [HTTP::Server::Context] The HTTP context @param name [String] Repository name @return [String] The path info part of the URL