MCPcopy Create free account

hub / github.com/Redundancy/go-sync / types & classes

Types & classes63 in github.com/Redundancy/go-sync

↓ 5 callersTypeAliasBlockSpanKey
Wraps a block index, allowing easy use of llrb.Get()
comparer/merger.go:63
↓ 4 callersFuncTypeFunctionRequester
-----------------------------------------------------------------------------
blocksources/blocksourcebase_test.go:29
↓ 3 callersStructBlockSpan
a span of multiple blocks, from start to end, which match the blocks starting at an offset of ComparisonStartOffset
comparer/merger.go:26
↓ 2 callersTypeAliasBlockSpanStart
Wraps a blockspan so that it may easily be used in llrb. Corresponds to the start block of the blockspan.
comparer/merger.go:40
↓ 2 callersTypeAliasSingleBlockSource
filechecksum/verifier_test.go:8
↓ 2 callersTypeAliasStrongChecksumGetter
satisfies filechecksum.ChecksumLookup
chunks/chunks.go:83
↓ 1 callersTypeAliasBlockSpanEnd
Wraps a blockspan so that it may easily be used in llrb. Corresponds to the end of the blockspan.
comparer/merger.go:52
↓ 1 callersTypeAliasBlockSpanList
comparer/merger.go:236
↓ 1 callersTypeAliasFourByteBlockSource
filechecksum/verifier_test.go:30
↓ 1 callersTypeAliasSingleBlockSource
blocksources/httpblocksource_test.go:215
↓ 1 callersTypeAliasURLNotFoundError
blocksources/httpblocksource.go:38
StructBasicSummary
BasicSummary implements a version of the FileSummary interface
rsync.go:69
InterfaceBlockBuffer
If the weak Hash object satisfies this interface, then StartFindMatchingBlocks will not allocate a circular buffer
comparer/comparer.go:25
StructBlockMatchResult
comparer/comparer.go:32
StructBlockReponse
patcher/blocksource.go:55
InterfaceBlockSource
* BlockSource is an interface used by the patchers to obtain blocks from the reference It does not stipulate where the reference data might be (it cou
patcher/blocksource.go:28
StructBlockSourceBase
BlockSourceBase provides an implementation of blocksource that takes care of everything except for the actual asyncronous request this makes blocksour
blocksources/blocksourcebase.go:69
InterfaceBlockSourceOffsetResolver
A BlockSourceOffsetResolver resolves a blockID to a start offset and and end offset in a file it also handles splitting up ranges of blocks into multi
blocksources/blocksourcebase.go:28
InterfaceBlockSourceRequester
BlockSourceRequester does synchronous requests on a remote source of blocks concurrency is handled by the BlockSourceBase. This provides a simple way
blocksources/blocksourcebase.go:14
InterfaceBlockSpanIndex
comparer/merger.go:34
InterfaceBlockVerifier
Checks blocks against their expected checksum
blocksources/blocksourcebase.go:35
StructC2
* C2 is a circular buffer intended to allow you to write a block of data of up to 'blocksize', and retrieve the data evicted by that operation, withou
circularbuffer/noalloc.go:12
StructChecksumIndex
index/index.go:32
InterfaceChecksumLookup
filechecksum/verifier.go:8
StructChecksumResults
filechecksum/filechecksum.go:120
StructChunkChecksum
For a given Block, the Weak & Strong hashes, and the offset This structure is only used to generate the index of reference files, since computing the
chunks/chunks.go:16
StructComparer
* Iterates though comparison looking for blocks that match ones from the index it emits each block to be read from the returned channel. Callers shoul
comparer/comparer.go:58
FuncTypeCompressionFunction
A function or object that can compress blocks the compression function must also write out the compressed blocks somewhere! Compressed blocks should b
filechecksum/filechecksum.go:132
StructFileChecksumGenerator
* FileChecksumGenerator provides a description of what hashing functions to use to evaluate a file. Since the hashes store state, it is NOT safe to us
filechecksum/filechecksum.go:64
InterfaceFileSummary
FileSummary combines many of the interfaces that are needed It is expected that you might implement it by embedding existing structs
rsync.go:59
StructFixedSizeBlockResolver
blocksources/fixed_size_block_resolver.go:3
StructFoundBlockSpan
patcher/blocksource.go:37
StructHashVerifier
filechecksum/verifier.go:12
StructHttpRequester
This class provides the implementation of BlockSourceRequester for BlockSourceBase this simplifies creating new BlockSources that satisfy the requirem
blocksources/httpblocksource.go:47
InterfaceIndex
comparer/comparer.go:43
StructMatchMerger
The result merger takes many BlockMatchResult and combines adjoining results into spans of blocks
comparer/merger.go:12
StructMissingBlockSpan
patcher/blocksource.go:44
StructNegativeStrongIndex
comparer/comparer_bench_test.go:23
StructNegativeWeakIndex
comparer/comparer_bench_test.go:12
TypeAliasPendingResponses
blocksources/sortableBlockResponse.go:7
StructQueuedRequest
blocksources/helpers.go:94
TypeAliasQueuedRequestList
blocksources/helpers.go:99
StructRSync
* RSync is an object designed to make the standard use-case for gosync as easy as possible. To this end, it hides away many low level choices by defa
rsync.go:43
InterfaceReadSeeker
blocksources/readseeker_blocksource.go:11
InterfaceReadSeekerAt
ReadSeekerAt is the combinaton of ReadSeeker and ReaderAt interfaces
rsync.go:31
StructReadSeekerRequester
blocksources/readseeker_blocksource.go:31
InterfaceRollingHash
filechecksum/filechecksum.go:40
StructRollsum32
Rollsum32 is a rolling checksum implemenation inspired by rsync, but with 32bit internal values Create one using NewRollsum32
rollsum/rollsum_32.go:28
StructRollsum32Base
The specification of hash.Hash is such that it cannot be implemented without implementing storage but the most optimal storage scheme depends on usage
rollsum/rollsum_32_base.go:19
TypeAliasStrongChecksumList
index/index.go:125
TypeAliasUintSlice
blocksources/helpers.go:73
StructasyncResult
blocksources/helpers.go:87
Interfacecloser
rsync.go:53
StructdoubleSizeBuffer
circularbuffer/noalloc.go:27
StructerrorWatcher
errorWatcher is a small helper object sendIfSet will only return a channel if there is an error set so w.sendIfSet() <- w.Err() is always safe in a se
blocksources/helpers.go:12
StructerroringRequester
-----------------------------------------------------------------------------
blocksources/blocksourcebase_test.go:13
StructfileCloser
rsync.go:263
StructfileCopyCloser
rsync.go:287
StructnonRepeatingSequenceReader
*should* produce a non-repeating sequence of bytes in a deterministic fashion use io.LimitReader to limit it to a specific length
util/readers/nonrepeating.go:13
StructnullCloser
rsync.go:281
StructpendingResponseHelper
blocksources/helpers.go:40
StructtestError
blocksources/blocksourcebase_test.go:14
StructuniformReader
Reads a continuous stream of bytes with the same value, up to length
util/readers/uniformreader.go:8