MCPcopy Create free account
hub / github.com/libgit2/git2go / FetchOptions

Struct FetchOptions

remote.go:126–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124)
125
126type FetchOptions struct {
127 // Callbacks to use for this fetch operation
128 RemoteCallbacks RemoteCallbacks
129 // Whether to perform a prune after the fetch
130 Prune FetchPrune
131 // Whether to write the results to FETCH_HEAD. Defaults to
132 // on. Leave this default in order to behave like git.
133 UpdateFetchhead bool
134
135 // Determines how to behave regarding tags on the remote, such
136 // as auto-downloading tags for objects we're downloading or
137 // downloading all of them.
138 //
139 // The default is to auto-follow tags.
140 DownloadTags DownloadTags
141
142 // Headers are extra headers for the fetch operation.
143 Headers []string
144
145 // Proxy options to use for this fetch operation
146 ProxyOptions ProxyOptions
147}
148
149type RemoteConnectOptions struct {
150 // Proxy options to use for this fetch operation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected