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

Method Rel

tq/transfer.go:62–76  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

60}
61
62func (t *Transfer) Rel(name string) (*Action, error) {
63 a, err := t.Actions.Get(name)
64 if a != nil || err != nil {
65 return a, err
66 }
67
68 if t.Links != nil {
69 a, err := t.Links.Get(name)
70 if a != nil || err != nil {
71 return a, err
72 }
73 }
74
75 return nil, nil
76}
77
78type ObjectError struct {
79 Code int `json:"code"`

Callers 15

ConvertMethod · 0.80
lockPathFunction · 0.80
trackCommandFunction · 0.80
AttrPathsFromReaderFunction · 0.80
downloadAllExistFunction · 0.80
downloadAllMissingFunction · 0.80
downloadMixedFunction · 0.80
uploadAllMissingFunction · 0.80
uploadAllExistsFunction · 0.80
uploadMixedFunction · 0.80
uploadEdgeCasesFunction · 0.80
canonicalizeFunction · 0.80

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected