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

Method Begin

tq/transfer.go:245–245  ·  view source on GitHub ↗

Begin a new batch of uploads or downloads. Call this first, followed by one or more Add calls. The passed in callback will receive updates on progress.

(cfg AdapterConfig, cb ProgressCallback)

Source from the content-addressed store, hash-verified

243 // Begin a new batch of uploads or downloads. Call this first, followed by one
244 // or more Add calls. The passed in callback will receive updates on progress.
245 Begin(cfg AdapterConfig, cb ProgressCallback) error
246 // Add queues a download/upload, which will complete asynchronously and
247 // notify the callbacks given to Begin()
248 Add(transfers ...*Transfer) (results <-chan TransferResult)

Callers 3

ensureAdapterBegunMethod · 0.65
BeginMethod · 0.65
BeginMethod · 0.65

Implementers 2

adapterBasetq/adapterbase.go
testAdaptertq/transfer_test.go

Calls

no outgoing calls

Tested by

no test coverage detected