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

Method Direction

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

Direction returns whether this instance is an upload or download instance Adapter instances can only be one or the other, although the same type may be instantiated for each direction

()

Source from the content-addressed store, hash-verified

240 // Adapter instances can only be one or the other, although the same
241 // type may be instantiated for each direction
242 Direction() Direction
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

Callers 3

TestBasicAdapterExistsFunction · 0.65

Implementers 2

adapterBasetq/adapterbase.go
testAdaptertq/transfer_test.go

Calls

no outgoing calls

Tested by 3

TestBasicAdapterExistsFunction · 0.52