Skip to content

Commit 4bfd6bf

Browse files
committed
Adapt
1 parent 357a20f commit 4bfd6bf

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/archive.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ use super::*;
44
#[derive(Encode, Decode)]
55
pub(crate) struct Archive {
66
#[n(0)]
7-
pub(crate) application: Application,
8-
#[n(1)]
9-
pub(crate) context: Context,
10-
#[n(2)]
117
pub(crate) version: Version,
12-
#[n(3)]
8+
#[n(1)]
139
pub(crate) root: Hash,
14-
#[n(4)]
10+
#[n(2)]
1511
pub(crate) files: BTreeMap<Hash, Vec<u8>>,
1612
}
1713

src/archive_builder.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ pub(crate) struct ArchiveBuilder {
77
impl ArchiveBuilder {
88
pub(crate) fn build(self, root: Hash) -> Archive {
99
Archive {
10-
application: Application::Filepack,
11-
context: Context::Manifest,
1210
files: self.files,
1311
root,
1412
version: Version::Zero,

0 commit comments

Comments
 (0)