Skip to content

Commit 451d4b5

Browse files
committed
vfs: make File (de)serialize-able
1 parent d45e7a4 commit 451d4b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vfs/file.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::{get_blob, PackageId};
66
/// VFS (Virtual File System) helper struct for a file.
77
/// Opening or creating a `File` will give you a `Result<File, VfsError>`.
88
/// You can call its impl functions to interact with it.
9+
#[derive(serde::Deserialize, serde::Serialize)]
910
pub struct File {
1011
pub path: String,
1112
pub timeout: u64,

0 commit comments

Comments
 (0)