package
0.19.0
Repository: https://github.com/kopia/kopia.git
Documentation: pkg.go.dev

# Packages

Package index manages content indices.
Package indexblob manages sets of active index blobs.

# Functions

IDFromHash creates and validates content ID from a prefix and hash.
IDsFromStrings converts strings to IDs.
IDsToStrings converts the IDs to strings.
NewManagerForTesting creates new content manager with given packing options and a formatter.
NewSharedManager returns SharedManager that is used by SessionWriteManagers on top of a repository.
NewWriteManager returns a session write manager.
ParseID parses the provided string as content ID.
ParseIndexBlob loads entries in a given index blob and returns them.
SessionIDFromBlobID returns session ID from a given blob ID or empty string if it's not a session blob ID.

# Constants

BlobIDPrefixSession is the prefix for blob IDs indicating active sessions.
constants below specify how long to prevent cache entries from expiring.
constants below specify how long to prevent cache entries from expiring.
Prefixes for pack blobs.
constants below specify how long to prevent cache entries from expiring.
Prefixes for pack blobs.
Prefixes for pack blobs.
Prefixes for pack blobs.
Prefixes for pack blobs.

# Variables

EmptyID is an empty content ID.
ErrContentNotFound is returned when content is not found.
PackBlobIDPrefixes contains all possible prefixes for pack blobs.

# Structs

CachingOptions specifies configuration of local cache.
IterateOptions contains the options used for iterating over content.
IteratePackOptions are the options used to iterate over packs.
ManagerOptions are the optional parameters for manager creation.
PackInfo contains the data for a pack.
SessionInfo describes a particular session and is persisted in Session blob.
SessionOptions specifies session options.
SharedManager is responsible for read-only access to committed data.
Stats exposes statistics about content operation.
WriteManager builds content-addressable storage with encryption, deduplication and packaging on top of BLOB store.

# Interfaces

IndexBlobReader provides an API for reading index blobs.
Reader defines content read API.

# Type aliases

DurationSeconds represents the duration in seconds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IterateCallback is the function type used as a callback during content iteration.
IteratePacksCallback is the function type used as callback during pack iteration.
SessionID represents identifier of a session.