mirror of
https://github.com/octoleo/restic.git
synced 2025-01-22 22:58:26 +00:00
Add Blob.Handle()
This commit is contained in:
parent
581d90cf91
commit
ce7d613749
@ -19,6 +19,10 @@ func (b Blob) String() string {
|
||||
b.Type, b.ID.Str(), b.Offset, b.Length)
|
||||
}
|
||||
|
||||
func (b Blob) Handle() BlobHandle {
|
||||
return BlobHandle{ID: b.ID, Type: b.Type}
|
||||
}
|
||||
|
||||
// PackedBlob is a blob stored within a file.
|
||||
type PackedBlob struct {
|
||||
Blob
|
||||
|
Loading…
x
Reference in New Issue
Block a user