mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-29 07:51:00 +08:00
When an object does not exist the `find_*` functions will return None. It will be a common case that users of the API will follow the pattern of `find_blob(store, oid)?.ok_or(Error::NotFound)`. Add fallible functions corresponding to each `find_` function returning a `git2::Error` if the object is not found. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>