Skip to content

Commit 7cbdd98

Browse files
committed
deduplicate hash
Signed-off-by: Christian Poveda <[email protected]>
1 parent bbd6481 commit 7cbdd98

File tree

5 files changed

+3
-210
lines changed

5 files changed

+3
-210
lines changed
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pub(crate) mod attached_text;
22
pub(crate) mod dependency;
3+
pub(crate) mod hash;

cyclonedx-bom/src/specs/v1_3/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ pub(crate) mod code;
2121
pub(crate) mod component;
2222
pub(crate) mod composition;
2323
pub(crate) mod external_reference;
24-
pub(crate) mod hash;
2524
pub(crate) mod license;
2625
pub(crate) mod metadata;
2726
pub(crate) mod organization;
2827
pub(crate) mod property;
2928
pub(crate) mod service;
3029
pub(crate) mod tool;
3130

32-
pub(crate) use super::common::{attached_text, dependency};
31+
pub(crate) use super::common::{attached_text, dependency, hash};

cyclonedx-bom/src/specs/v1_4/hash.rs

Lines changed: 0 additions & 206 deletions
This file was deleted.

cyclonedx-bom/src/specs/v1_4/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pub(crate) mod code;
2222
pub(crate) mod component;
2323
pub(crate) mod composition;
2424
pub(crate) mod external_reference;
25-
pub(crate) mod hash;
2625
pub(crate) mod license;
2726
pub(crate) mod metadata;
2827
pub(crate) mod organization;
@@ -38,4 +37,4 @@ pub(crate) mod vulnerability_reference;
3837
pub(crate) mod vulnerability_source;
3938
pub(crate) mod vulnerability_target;
4039

41-
pub(crate) use super::common::{attached_text, dependency};
40+
pub(crate) use super::common::{attached_text, dependency, hash};

0 commit comments

Comments
 (0)