diff --git a/src/restic/blob.go b/src/restic/blob.go index 670fd2fdf..35887121c 100644 --- a/src/restic/blob.go +++ b/src/restic/blob.go @@ -14,6 +14,11 @@ type Blob struct { Offset uint } +func (b Blob) String() string { + return fmt.Sprintf("", + b.Type, b.ID.Str(), b.Offset, b.Length) +} + // PackedBlob is a blob stored within a file. type PackedBlob struct { Blob