Skip to content
518 changes: 461 additions & 57 deletions crates/socket-patch-cli/src/commands/repair_vendor.rs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions crates/socket-patch-cli/src/commands/vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,7 @@ mod gc_tests {
sha256: String::new(),
size: None,
platform_locked: None,
file_inventory: None,
},
wiring: Vec::new(),
lock: None,
Expand Down
3 changes: 3 additions & 0 deletions crates/socket-patch-cli/tests/e2e_vex_vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ fn write_vendor_state(cwd: &Path, purl: &str, rel_path: &str) {
sha256: String::new(),
size: None,
platform_locked: None,
file_inventory: None,
},
wiring: Vec::new(),
lock: None,
Expand Down Expand Up @@ -574,6 +575,7 @@ fn write_detached_vendor_state(cwd: &Path, purl: &str, rel_path: &str, record: P
sha256: String::new(),
size: None,
platform_locked: None,
file_inventory: None,
},
wiring: Vec::new(),
lock: None,
Expand Down Expand Up @@ -842,6 +844,7 @@ fn detached_matrix_entry(
sha256,
size: None,
platform_locked: None,
file_inventory: None,
},
wiring: Vec::new(),
lock: None,
Expand Down
1 change: 1 addition & 0 deletions crates/socket-patch-cli/tests/in_process_vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ async fn vendored_golang_purl_skipped_by_apply() {
sha256: String::new(),
size: None,
platform_locked: None,
file_inventory: None,
},
wiring: Vec::new(),
lock: None,
Expand Down
Loading
Loading