GO-2024-2703: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output in github.com/kopia/kopia
package
Version:
v0.6.3
Opens a new window with list of versions in this module.
Published: Aug 22, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package splitter manages splitting of object data into chunks.
View Source
const DefaultAlgorithm = "DYNAMIC-4M-BUZHASH"
DefaultAlgorithm is the name of the splitter used by default for new repositories.
func SupportedAlgorithms() []string
SupportedAlgorithms returns the list of supported splitters.
Factory creates instances of Splitter
Fixed returns a factory that creates splitters with fixed chunk length.
GetFactory gets splitter factory with a specified name or nil if not found.
Pooled returns a factory that recycles the splitters on Close().
type Splitter interface {
ShouldSplit(b byte) bool
MaxSegmentSize() int
Reset()
Close()
}
Splitter determines when to split a given object.
It must return true if the object should be split after byte b is processed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.