package
0.6.14
Repository: https://github.com/fhalim/blobporter.git
Documentation: pkg.go.dev

# Functions

NewStats creates a new instance of the.
NewTransfer creates a new Transfer, this will adjust the thread targetand initialize the channels and the wait groups for the writers, readers and the committers.
ParseDupeCheckLevel converts string to DupeCheckLevel.
ParseTransferDefinition parses a Definition from a string.
ParseTransferSegment TODO.

# Constants

valid transfer segments.
The different transfers types.
The different transfers types.
The different transfers types.
The different transfers types.
valid transfer segments.
TODO: package this better so it can stay in sync w/declaration.
valid transfer segments.
The different transfers types.
The different transfers types.
Compute MD5s and look for matches on that.
valid transfer segments.
The different transfers types.
The different transfers types.
The different transfers types.
valid transfer segments.
Don't bother to check.
valid transfer segments.
valid transfer segments.
The different transfers types.
The different transfers types.
valid transfer segments.
The different transfers types.
The different transfers types.
Only check for blocks with all zero bytes.

# Structs

Channels represents all the control channels in the transfer.
StatInfo holds calculated statistics from a transfer.
Stats statistics from the transfer.
TimeStatsInfo contains transfer statistics, used at the end of the transfer.
Transfer top data structure holding the state of the transfer.
WaitGroups holds all wait groups involved in the transfer.
Worker represents a worker routine that transfers data to a target.

# Type aliases

Definition represents the supported source and target combinations.
DupeCheckLevel -- degree to which we'll try to check for duplicate blocks.
ProgressUpdate called whenever a worker completes successfully.
TransferSegment source and target types.