module

Crit::Routes::Git

Git client routes module

Handles HTTP requests from Git clients for operations like push, pull, clone, etc. by forwarding them to git-http-backend.

Constants

Log = ::Log.for(self)

Set up a dedicated logger for Git routes

Class methods

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

Source
setup

Sets up Git HTTP routes

Source