gitd

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: 0BSD Imports: 11 Imported by: 0

Documentation

Overview

Package gitd implements the anonymous git:// protocol listener. Read-only upload-pack, and only for repositories that are public AND have opted in via settings — on an instance where [git_daemon] is enabled at all.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config, st *store.Store) *Server

func (*Server) Serve

func (s *Server) Serve(ln net.Listener) error

Source Files

  • gitd.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL