MCPcopy Create free account
hub / github.com/git-bug/git-bug / Fetch

Function Fetch

entities/bug/bug_actions.go:12–14  ·  view source on GitHub ↗

Fetch retrieve updates from a remote This does not change the local bugs state

(repo repository.Repo, remote string)

Source from the content-addressed store, hash-verified

10// Fetch retrieve updates from a remote
11// This does not change the local bugs state
12func Fetch(repo repository.Repo, remote string) (string, error) {
13 return dag.Fetch(def, repo, remote)
14}
15
16// Push update a remote with the local changes
17func Push(repo repository.Repo, remote string) (string, error) {

Callers

nothing calls this directly

Calls 1

FetchFunction · 0.92

Tested by

no test coverage detected