debug

package
v0.0.0-...-25f0e8a Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchDebugInfo

type FetchDebugInfo struct {
	// ResponseHeaders is a map of response headers.
	ResponseHeaders map[string][]string `json:"responseHeaders"`
	// PackfileSize is the size of the packfile in bytes.
	PackfileSize int `json:"packfileSize"`
}

type LsRefsDebugInfo

type LsRefsDebugInfo struct {
	// ResponseHeaders is the headers of the HTTP response when fetching the packfile.
	ResponseHeaders map[string][]string `json:"responseHeaders"`
}

type PushCommandStatus

type PushCommandStatus struct {
	// Name is the name of the reference.
	Name string `json:"name"`
	// Status is the status of the command.
	Status string `json:"status"`
}

type PushDebugInfo

type PushDebugInfo struct {
	// PackfileSize is the size of the sent packfile in bytes.
	PackfileSize int `json:"packfileSize"`

	// RefAdvHeaders is the headers of the HTTP response in calling /info/refs
	RefAdvResponseHeaders map[string][]string `json:"refAdvResponseHeaders"`
	// PushResponseHeaders is the headers of the HTTP response in calling /git-receive-pack
	PushResponseHeaders map[string][]string `json:"pushResponseHeaders"`

	// UnpackStatus is the status sent from the server for unpacking the packfile.
	UnpackStatus string `json:"unpackStatus"`
	// CommandStatuses is the status of each command sent to the server.
	CommandStatuses []*PushCommandStatus `json:"commandStatuses"`
}

Jump to

Keyboard shortcuts

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