Update methods in InputFieldIngredient

This commit is contained in:
Mihail Mihov 2022-08-13 18:19:37 +03:00
parent 83474bbc53
commit 11cedfba4f

View file

@ -1,7 +1,7 @@
use crate::cycle::CycleRecoveryStrategy; use crate::cycle::CycleRecoveryStrategy;
use crate::ingredient::Ingredient; use crate::ingredient::Ingredient;
use crate::key::DependencyIndex; use crate::key::DependencyIndex;
use crate::runtime::local_state::QueryEdges; use crate::runtime::local_state::QueryOrigin;
use crate::runtime::StampedValue; use crate::runtime::StampedValue;
use crate::{AsId, DatabaseKeyIndex, Durability, Id, IngredientIndex, Revision, Runtime}; use crate::{AsId, DatabaseKeyIndex, Durability, Id, IngredientIndex, Revision, Runtime};
use rustc_hash::FxHashMap; use rustc_hash::FxHashMap;
@ -86,11 +86,11 @@ where
self.map.get(&key).unwrap().changed_at > revision self.map.get(&key).unwrap().changed_at > revision
} }
fn inputs(&self, _key_index: Id) -> Option<QueryEdges> { fn origin(&self, _key_index: Id) -> Option<QueryOrigin> {
None None
} }
fn remove_stale_output(&self, _executor: DatabaseKeyIndex, _stale_output_key: Option<Id>) { fn mark_validated_output(&self, _db: &DB, _executor: DatabaseKeyIndex, _output_key: Id) {}
todo!()
} fn remove_stale_output(&self, _db: &DB, _executor: DatabaseKeyIndex, _stale_output_key: Id) {}
} }