mirror of
https://codeberg.org/spire/depot-prefetch.git
synced 2026-06-03 18:14:08 +02:00
add file list to output
This commit is contained in:
parent
f0efae82b1
commit
a8d3b58551
1 changed files with 4 additions and 1 deletions
|
|
@ -153,11 +153,12 @@ fn fetch_inputs(inputs: impl IntoIterator<Item = ManifestInput>, file_list: &[St
|
|||
depot_id: input.depot_id,
|
||||
manifest: input.manifest,
|
||||
hash,
|
||||
file_list: file_list.into(),
|
||||
})
|
||||
}).collect()
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Eq, PartialEq, Copy, Clone)]
|
||||
#[derive(Debug, Serialize, Eq, PartialEq, Clone)]
|
||||
struct ManifestInput {
|
||||
app_id: u32,
|
||||
depot_id: u32,
|
||||
|
|
@ -170,4 +171,6 @@ struct ManifestOutput {
|
|||
depot_id: u32,
|
||||
manifest: u64,
|
||||
hash: String,
|
||||
#[serde(skip_serializing_if = "Vec::is_empty")]
|
||||
file_list: Vec<String>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue