Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Add graph structs #11

wants to merge 1 commit into from

Conversation

Jujulego
Copy link
Owner

@Jujulego Jujulego commented May 1, 2024

Closes #5

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Jujulego Jujulego added the enhancement New feature or request label May 1, 2024
@Jujulego Jujulego self-assigned this May 1, 2024
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

variants Prod and Dev are never constructed
use crate::graph::workspace::Workspace;

pub enum DependencyKind {
Prod,

Check warning

Code scanning / clippy

variants Prod and Dev are never constructed Warning

variants Prod and Dev are never constructed

pub enum DependencyKind {
Prod,
Dev,

Check warning

Code scanning / clippy

variants Prod and Dev are never constructed Warning

variants Prod and Dev are never constructed
Dev,
}

pub struct WorkspaceDependency {

Check warning

Code scanning / clippy

fields kind and workspace are never read Warning

fields kind and workspace are never read
}

pub struct WorkspaceDependency {
kind: DependencyKind,

Check warning

Code scanning / clippy

fields kind and workspace are never read Warning

fields kind and workspace are never read
@@ -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

fields name, version, root, and dependencies are never read
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

fields name, version, root, and dependencies are never read

pub struct Workspace {
name: String,
version: String,

Check warning

Code scanning / clippy

fields name, version, root, and dependencies are never read Warning

fields name, version, root, and dependencies are never read
pub struct Workspace {
name: String,
version: String,
root: String,

Check warning

Code scanning / clippy

fields name, version, root, and dependencies are never read Warning

fields name, version, root, and dependencies are never read
name: String,
version: String,
root: String,
dependencies: Vec<WorkspaceDependency>,

Check warning

Code scanning / clippy

fields name, version, root, and dependencies are never read Warning

fields name, version, root, and dependencies are never read
Copy link

codecov bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (9c88ebc) to head (77e380f).

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           
Flag Coverage Δ
unit 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jujulego Jujulego closed this Jun 9, 2024
@Jujulego Jujulego deleted the feat/project-struct branch June 9, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add project representation
1 participant