mirror of https://github.com/perkeep/perkeep.git
index: doc tweak
Change-Id: I30836b1a6967ac86f7f16118a9bf81a293b09a27
This commit is contained in:
parent
f718e64289
commit
d6a10c18f2
|
@ -385,7 +385,8 @@ func (x *Index) deletedAtNoCache(br blob.Ref) (bool, time.Time) {
|
|||
return false, time.Time{}
|
||||
}
|
||||
|
||||
// isDeleted returns whether br (a blobref or a claim) should be considered deleted.
|
||||
// IsDeleted reports whether the provided blobref (of a permanode or
|
||||
// claim) should be considered deleted.
|
||||
func (x *Index) IsDeleted(br blob.Ref) bool {
|
||||
if x.deletes == nil {
|
||||
// We still allow the slow path, in case someone creates
|
||||
|
|
Loading…
Reference in New Issue