Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/RustyMft.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthew seyer <matthew.seyer@gmail.com>2017-05-22 05:15:58 +0300
committermatthew seyer <matthew.seyer@gmail.com>2017-05-22 05:15:58 +0300
commitc4a9a22cd06f59ea5060481df99f5a7b09db8e26 (patch)
tree5a22f8bb4125c366bc8c5a0a3f43bb3dbe5aea37 /src/mft.rs
parenta65d3af5a8314b0b65e5ea34d76abb76058c2764 (diff)
Changed Attribute Naming standards and now storing attributes as an array.
Diffstat (limited to 'src/mft.rs')
-rw-r--r--src/mft.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mft.rs b/src/mft.rs
index 802f381..888f8fb 100644
--- a/src/mft.rs
+++ b/src/mft.rs
@@ -151,14 +151,14 @@ impl MftHandler{
fn get_mapping_from_entry(&mut self, entry: u64) -> Option<PathMapping>{
self.filehandle.seek(
SeekFrom::Start(entry * self._entry_size as u64)
- );
+ ).unwrap();
let mut entry_buffer = vec![0; self._entry_size as usize];
self.filehandle.read_exact(
&mut entry_buffer
- );
+ ).unwrap();
- let mut mft_entry = self.entry_from_buffer(
+ let mft_entry = self.entry_from_buffer(
entry_buffer,
entry
);