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.cr

Constant Summary

Log = ::Log.for(self)

Set up a dedicated logger for Git routes

Class Method Summary

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


[View source]
def self.setup #

Sets up Git HTTP routes


[View source]