MCPcopy Create free account
hub / github.com/cloudflare/artifact-fs / FetchRefNonInteractive

Method FetchRefNonInteractive

internal/gitstore/gitstore.go:132–143  ·  view source on GitHub ↗
(ctx context.Context, repo model.RepoConfig, ref string)

Source from the content-addressed store, hash-verified

130 msg += "; caller context: " + e.contextErr.Error()
131 }
132 return msg
133}
134
135func (e *gitCommandError) Unwrap() []error {
136 if e == nil {
137 return nil
138 }
139 errs := make([]error, 0, 2)
140 if e.cause != nil {
141 errs = append(errs, e.cause)
142 }
143 if e.contextErr != nil {
144 errs = append(errs, e.contextErr)
145 }
146 return errs

Callers 1

Calls 3

fetchRefTargetFunction · 0.85
runGitWithEnvFunction · 0.85
nonInteractiveGitEnvFunction · 0.85

Tested by

no test coverage detected