pub struct Resolved {
pub files: BTreeSet<String>,
pub mandatory: BTreeSet<String>,
pub values: BTreeMap<String, Value>,
pub lockfile: Option<(BTreeSet<String>, BTreeSet<String>)>,
pub workspace_file: bool,
pub external: BTreeSet<String>,
}Expand description
What a task’s key is computed from, as JSON: kept by the history so a changed key can be explained. What a task’s key depends on, before any file is read.
Fields§
§files: BTreeSet<String>Workspace-relative files whose content is part of the key.
mandatory: BTreeSet<String>Always-on workspace and package configuration, also useful to input analysis.
values: BTreeMap<String, Value>Env, runtime and other named values; env and runtime are evaluated only with a prepared task.
lockfile: Option<(BTreeSet<String>, BTreeSet<String>)>With a readable pnpm lockfile: the importers whose installs count, and
packages named by externalDependencies.
workspace_file: boolpnpm-workspace.yaml counts without its resolution keys, which reach
tasks through the lockfile instead.
external: BTreeSet<String>Explicit external dependency names, even without a readable lockfile.
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