MCPcopy
hub / github.com/git-lfs/git-lfs / Resolve

Method Resolve

lfshttp/ssh_test.go:217–227  ·  view source on GitHub ↗
(e Endpoint, method string)

Source from the content-addressed store, hash-verified

215}
216
217func (r *fakeResolver) Resolve(e Endpoint, method string) (sshAuthResponse, error) {
218 res := r.responses[e.SSHMetadata.UserAndHost]
219 var err error
220 if len(res.Message) > 0 {
221 err = errors.New(res.Message)
222 }
223
224 res.createdAt = time.Now()
225
226 return res, err
227}

Callers

nothing calls this directly

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected