mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-05 18:24:18 +02:00
Allow specifying an output file or directory when downloading [WIP]
This commit is contained in:
parent
649190b17a
commit
8259106c17
5 changed files with 109 additions and 22 deletions
|
@ -47,6 +47,11 @@ impl Metadata {
|
|||
serde_json::to_string(&self).unwrap()
|
||||
}
|
||||
|
||||
/// Get the file name.
|
||||
pub fn name(&self) -> &str {
|
||||
&self.name
|
||||
}
|
||||
|
||||
/// Get the input vector
|
||||
// TODO: use an input vector length from a constant
|
||||
pub fn iv(&self) -> [u8; 12] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue