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

Function NewCustomAdapterUploadRequest

tq/custom.go:87–89  ·  view source on GitHub ↗
(oid string, size int64, path string, action *Action)

Source from the content-addressed store, hash-verified

85}
86
87func NewCustomAdapterUploadRequest(oid string, size int64, path string, action *Action) *customAdapterTransferRequest {
88 return &customAdapterTransferRequest{"upload", oid, size, path, action}
89}
90func NewCustomAdapterDownloadRequest(oid string, size int64, action *Action) *customAdapterTransferRequest {
91 return &customAdapterTransferRequest{"download", oid, size, "", action}
92}

Callers 1

DoTransferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected