From fce75106f4be5e8ff08b7c567758645a7516eacc Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 09:37:52 +0000 Subject: object/store: Refine docs --- object/store/errors.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'object/store/errors.go') diff --git a/object/store/errors.go b/object/store/errors.go index 3ee438f7..0e36b400 100644 --- a/object/store/errors.go +++ b/object/store/errors.go @@ -3,10 +3,6 @@ package objectstore import "errors" // ErrObjectNotFound indicates that an object does not exist in a backend. -// This error MUST only be used in situations where the object store has -// no specified object ID, but no other unexpected conditions were -// encountered. In particular, it is not suitable for situations where one -// object references another (such as a tree referencing a blob) but -// the latter does not exist; these situations should use a separate -// error (TODO). +// This error must only be produced by object stores, when it has no +// specified object ID, but no other unexpected conditions were encountered. var ErrObjectNotFound = errors.New("objectstore: object not found") -- cgit v1.3.1-10-gc9f91