MCPcopy
hub / github.com/wal-g/wal-g / newTarSizeError

Function newTarSizeError

internal/bundle.go:19–21  ·  view source on GitHub ↗
(packedFileSize, expectedSize int64)

Source from the content-addressed store, hash-verified

17}
18
19func newTarSizeError(packedFileSize, expectedSize int64) TarSizeError {
20 return TarSizeError{errors.Errorf("packed wrong numbers of bytes %d instead of %d", packedFileSize, expectedSize)}
21}
22
23type Bundle struct {
24 Directory string

Callers 1

PackFileIntoTarMethod · 0.70

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected