MCPcopy
hub / github.com/restic/restic / b2Backend

Struct b2Backend

internal/backend/b2/b2.go:25–33  ·  view source on GitHub ↗

b2Backend is a backend which stores its data on Backblaze B2.

Source from the content-addressed store, hash-verified

23
24// b2Backend is a backend which stores its data on Backblaze B2.
25type b2Backend struct {
26 client *b2.Client
27 bucket *b2.Bucket
28 cfg Config
29 listMaxItems int
30 layout.Layout
31
32 canDelete bool
33}
34
35var errTooShort = fmt.Errorf("file is too short")
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected