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

github.com/windirstat/ntfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Finck <colin@reactos.org>2021-06-22 09:36:26 +0300
committerColin Finck <colin@reactos.org>2021-06-22 09:36:26 +0300
commit1d200df64b697fcfc06c386712fbc66248eddf2e (patch)
tree13048f256cafd2d12a6c49cc9493e8b6039dd9f6 /src/structured_values/index_root.rs
parent5c60695e0d11a07602a94accd2546b408503c6d3 (diff)
`NtfsIndexEntries` -> `NtfsIndexNodeEntries`
We reuse the former name for something else in the next commit.
Diffstat (limited to 'src/structured_values/index_root.rs')
-rw-r--r--src/structured_values/index_root.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/structured_values/index_root.rs b/src/structured_values/index_root.rs
index 47b52d6..0a57631 100644
--- a/src/structured_values/index_root.rs
+++ b/src/structured_values/index_root.rs
@@ -4,7 +4,7 @@
use crate::attribute::NtfsAttributeType;
use crate::attribute_value::NtfsAttributeValue;
use crate::error::{NtfsError, Result};
-use crate::index_entry::NtfsIndexEntries;
+use crate::index_entry::NtfsIndexNodeEntries;
use crate::index_record::{IndexNodeHeader, INDEX_NODE_HEADER_SIZE};
use crate::ntfs::Ntfs;
use crate::structured_values::NewNtfsStructuredValue;
@@ -38,7 +38,7 @@ impl<'n> NtfsIndexRoot<'n> {
self.index_node_header.allocated_size
}
- pub fn entries<K, T>(&self, fs: &mut T) -> Result<NtfsIndexEntries<'n, K>>
+ pub fn entries<K, T>(&self, fs: &mut T) -> Result<NtfsIndexNodeEntries<'n, K>>
where
K: NewNtfsStructuredValue<'n>,
T: Read + Seek,
@@ -50,7 +50,7 @@ impl<'n> NtfsIndexRoot<'n> {
let mut value = self.value.clone();
value.seek(fs, SeekFrom::Start(start))?;
- Ok(NtfsIndexEntries::new(self.ntfs, value, end))
+ Ok(NtfsIndexNodeEntries::new(self.ntfs, value, end))
}
pub fn index_record_size(&self) -> u32 {