mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 13:27:50 +08:00
Merge pull request #7811 from zaurbek/doc/blocks/remove.go
docs: fixed typos and commas in blocks/blockstoreutil's RemoveBlock comments
This commit is contained in:
commit
0d63fbb605
@ -12,10 +12,10 @@ import (
|
||||
)
|
||||
|
||||
// RemovedBlock is used to represent the result of removing a block.
|
||||
// If a block was removed successfully than the Error string will be
|
||||
// empty. If a block could not be removed than Error will contain the
|
||||
// If a block was removed successfully, then the Error string will be
|
||||
// empty. If a block could not be removed, then Error will contain the
|
||||
// reason the block could not be removed. If the removal was aborted
|
||||
// due to a fatal error Hash will be empty, Error will contain the
|
||||
// due to a fatal error, Hash will be empty, Error will contain the
|
||||
// reason, and no more results will be sent.
|
||||
type RemovedBlock struct {
|
||||
Hash string `json:",omitempty"`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user