ObjectScanner is a scanner type that scans for Git objects reference-able in Git's object database by their unique OID.
| 26 | // ObjectScanner is a scanner type that scans for Git objects reference-able in |
| 27 | // Git's object database by their unique OID. |
| 28 | type ObjectScanner struct { |
| 29 | // object is the object that the ObjectScanner last scanned, or nil. |
| 30 | object *object |
| 31 | // err is the error (if any) that the ObjectScanner encountered during |
| 32 | // its last scan, or nil. |
| 33 | err error |
| 34 | |
| 35 | gitobj *gitobj.ObjectDatabase |
| 36 | } |
| 37 | |
| 38 | // NewObjectScanner constructs a new instance of the `*ObjectScanner` type and |
| 39 | // returns it. It backs the ObjectScanner with an ObjectDatabase from the |
nothing calls this directly
no outgoing calls
no test coverage detected