diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-22 16:28:15 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-25 15:35:21 +0100 |
commit | 34291a0442ac6fb66967543f1bbf465c0b3dd731 (patch) | |
tree | e4d2feb6fef85527710b6d3d4431903f041eab72 /src/filestore/merged.rs | |
parent | 5a51e23ba57491d100f4ffeac5c8657aaa1b011b (diff) |
Let the JobHandle::run() return a Vec<Artifact>
Before that change, it returned the dbmodels::Artifact objects, for which we
needed to fetch the filestore::Artifact again.
This change removes that restriction (improving runtime, of course).
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/filestore/merged.rs')
-rw-r--r-- | src/filestore/merged.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filestore/merged.rs b/src/filestore/merged.rs index 3ed59dd..0b19d85 100644 --- a/src/filestore/merged.rs +++ b/src/filestore/merged.rs @@ -8,6 +8,11 @@ // SPDX-License-Identifier: EPL-2.0 // +// TODO: The MergedStores is not used at all anymore, because we removed the feature while doing +// the rewrite +#![allow(unused)] + + use std::sync::Arc; use std::path::Path; @@ -21,6 +26,7 @@ use crate::filestore::path::ArtifactPath; use crate::filestore::ReleaseStore; use crate::filestore::StagingStore; + /// A type that merges the release store and the staging store /// /// The stores are not actually merged (on disk or in memory), but the querying mechanism works in |