pub struct Resolved {
pub declared: Declared,
pub inferred: Inferred,
}Expand description
A task’s inputs, before cache-key evaluation: what its declared inputs select, and what qk adds to every task on its own.
Fields§
§declared: Declared§inferred: InferredImplementations§
Source§impl Resolved
impl Resolved
Sourcepub fn whole_files(&self) -> impl Iterator<Item = &str>
pub fn whole_files(&self) -> impl Iterator<Item = &str>
The files keyed by their whole content, declared or inferred.
Sourcepub fn is_whole_file(&self, path: &str) -> bool
pub fn is_whole_file(&self, path: &str) -> bool
Whether path is keyed by its whole content.
Sourcepub fn file_inputs(&self) -> impl Iterator<Item = &str>
pub fn file_inputs(&self) -> impl Iterator<Item = &str>
Whole files and the files of JSON inputs, for conservative change selection.
Sourcepub fn always_included(&self) -> BTreeSet<String>
pub fn always_included(&self) -> BTreeSet<String>
Every file qk adds on its own, including those the declared inputs also select.
pub fn json_inputs(&self) -> impl Iterator<Item = &str>
pub fn is_json_input(&self, path: &str) -> bool
pub fn environment_inputs(&self) -> impl Iterator<Item = &str>
pub fn runtime_inputs(&self) -> impl Iterator<Item = &str>
Sourcepub fn dependency_output_inputs(&self) -> impl Iterator<Item = (&str, bool)>
pub fn dependency_output_inputs(&self) -> impl Iterator<Item = (&str, bool)>
Each dependency-output pattern and whether it includes transitive tasks.
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more