We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 357a20f commit 4bfd6bfCopy full SHA for 4bfd6bf
2 files changed
src/archive.rs
@@ -4,14 +4,10 @@ use super::*;
4
#[derive(Encode, Decode)]
5
pub(crate) struct Archive {
6
#[n(0)]
7
- pub(crate) application: Application,
8
- #[n(1)]
9
- pub(crate) context: Context,
10
- #[n(2)]
11
pub(crate) version: Version,
12
- #[n(3)]
+ #[n(1)]
13
pub(crate) root: Hash,
14
- #[n(4)]
+ #[n(2)]
15
pub(crate) files: BTreeMap<Hash, Vec<u8>>,
16
}
17
src/archive_builder.rs
@@ -7,8 +7,6 @@ pub(crate) struct ArchiveBuilder {
impl ArchiveBuilder {
pub(crate) fn build(self, root: Hash) -> Archive {
Archive {
- application: Application::Filepack,
- context: Context::Manifest,
files: self.files,
root,
version: Version::Zero,
0 commit comments