forked from TrueCloudLab/restic
Implement streaming chunker using io.Reader
This commit is contained in:
parent
a5c33d80d8
commit
bda33e612c
6 changed files with 300 additions and 147 deletions
6
blob.go
6
blob.go
|
@ -35,7 +35,7 @@ func (b Blob) Valid() bool {
|
|||
}
|
||||
|
||||
func (b Blob) String() string {
|
||||
return fmt.Sprintf("Blob<%s -> %s>",
|
||||
b.ID.Str(),
|
||||
b.Storage.Str())
|
||||
return fmt.Sprintf("Blob<%s (%d) -> %s (%d)>",
|
||||
b.ID.Str(), b.Size,
|
||||
b.Storage.Str(), b.StorageSize)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue