-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add graph structs #11
Conversation
use std::rc::Rc; | ||
use crate::graph::workspace::Workspace; | ||
|
||
pub enum DependencyKind { |
Check warning
Code scanning / clippy
variants Prod and Dev are never constructed Warning
use crate::graph::workspace::Workspace; | ||
|
||
pub enum DependencyKind { | ||
Prod, |
Check warning
Code scanning / clippy
variants Prod and Dev are never constructed Warning
|
||
pub enum DependencyKind { | ||
Prod, | ||
Dev, |
Check warning
Code scanning / clippy
variants Prod and Dev are never constructed Warning
Dev, | ||
} | ||
|
||
pub struct WorkspaceDependency { |
Check warning
Code scanning / clippy
fields kind and workspace are never read Warning
} | ||
|
||
pub struct WorkspaceDependency { | ||
kind: DependencyKind, |
Check warning
Code scanning / clippy
fields kind and workspace are never read Warning
@@ -0,0 +1,8 @@ | |||
use crate::graph::dependency::WorkspaceDependency; | |||
|
|||
pub struct Workspace { |
Check warning
Code scanning / clippy
fields name, version, root, and dependencies are never read Warning
use crate::graph::dependency::WorkspaceDependency; | ||
|
||
pub struct Workspace { | ||
name: String, |
Check warning
Code scanning / clippy
fields name, version, root, and dependencies are never read Warning
|
||
pub struct Workspace { | ||
name: String, | ||
version: String, |
Check warning
Code scanning / clippy
fields name, version, root, and dependencies are never read Warning
pub struct Workspace { | ||
name: String, | ||
version: String, | ||
root: String, |
Check warning
Code scanning / clippy
fields name, version, root, and dependencies are never read Warning
name: String, | ||
version: String, | ||
root: String, | ||
dependencies: Vec<WorkspaceDependency>, |
Check warning
Code scanning / clippy
fields name, version, root, and dependencies are never read Warning
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## latest #11 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 1 1
Lines 6 6
Branches 6 6
======================================
Misses 6 6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Closes #5