Fast implementation of Git in pure Go
1package errors
2
3import (
4 "fmt"
5
6 "codeberg.org/lindenii/furgit/objectid"
7)
8
9// ObjectMissingError indicates that a referenced object is absent from the
10// repository object store.
11type ObjectMissingError struct {
12 OID objectid.ObjectID
13}
14
15// Error implements error.
16func (e *ObjectMissingError) Error() string {
17 return fmt.Sprintf("missing object %s", e.OID)
18}