diff options
author | matthew seyer <matthew.seyer@gmail.com> | 2017-06-27 05:48:08 +0300 |
---|---|---|
committer | matthew seyer <matthew.seyer@gmail.com> | 2017-06-27 05:48:08 +0300 |
commit | d6c5d03a2a306979e805e67c37850990e6cb0fdb (patch) | |
tree | 70a5735c11542445834c485515a1a84f1aae7510 /src/mft.rs | |
parent | e6387f97fc4af6561ffd7a860941499e5ed3bf2d (diff) |
MFT Attributes structure restructure and serialization restructure
Diffstat (limited to 'src/mft.rs')
-rw-r--r-- | src/mft.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ impl MftHandler{ Some(mapping) => { if mft_entry.is_dir() { &self.path_enumerator.set_mapping( - mft_entry.header.entry_reference.clone().unwrap(), + mft_entry.header.entry_reference.clone(), mapping.clone() ); } @@ -96,7 +96,7 @@ impl MftHandler{ pub fn entry_from_buffer(&mut self, buffer: Vec<u8>, entry: u64) -> Result<MftEntry,MftError> { let mft_entry = MftEntry::new( buffer, - Some(entry) + entry )?; Ok(mft_entry) |