get update id

This commit is contained in:
mpostma 2021-01-28 17:20:51 +01:00
parent 4119ae8655
commit 60371b9dcf
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
4 changed files with 47 additions and 38 deletions

View file

@ -135,4 +135,6 @@ pub trait IndexController {
/// Returns, if it exists, an `IndexView` to the requested index.
fn index(&self, uid: impl AsRef<str>) -> anyhow::Result<Option<Arc<Index>>>;
fn update_status(&self, index: impl AsRef<str>, id: u64) -> anyhow::Result<Option<UpdateStatus<UpdateMeta, UpdateResult, String>>>;
}