pub struct Graph {
pub forward: DepGraph,
pub reverse: DepGraph,
/* private fields */
}Expand description
The project’s dependency graph.
Fields§
§forward: DepGraphforward[a]: the files a uses.
reverse: DepGraphreverse[b]: the files that use b.
Implementations§
Source§impl Graph
impl Graph
Sourcepub fn impact(&self, changed: &[String], tests: &[String]) -> Impact
pub fn impact(&self, changed: &[String], tests: &[String]) -> Impact
The test files among tests that a change to changed (res://
paths) affects.
Sourcepub fn loads_unknown(&self, file: &str) -> bool
pub fn loads_unknown(&self, file: &str) -> bool
Whether file, or a file it uses, loads a path the source does not
tell: then any change may affect it.
Sourcepub fn unknown_loaders(&self, tests: &[String]) -> BTreeSet<String>
pub fn unknown_loaders(&self, tests: &[String]) -> BTreeSet<String>
The files that load paths the source does not tell, among the files
tests reach.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Graph
impl Freeze for Graph
impl Move for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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