MCPcopy Create free account
hub / github.com/go-git/go-git / CmdUpdateServerInfo

Struct CmdUpdateServerInfo

cli/go-git/update_server_info.go:16–18  ·  view source on GitHub ↗

CmdUpdateServerInfo command updates the server info files in the repository. This is used by git http transport (dumb) to generate a list of available refs for the repository. See: https://git-scm.com/docs/git-update-server-info

Source from the content-addressed store, hash-verified

14// refs for the repository. See:
15// https://git-scm.com/docs/git-update-server-info
16type CmdUpdateServerInfo struct {
17 cmd
18}
19
20// Usage returns the usage of the command.
21func (CmdUpdateServerInfo) Usage() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected