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:
Diffstat (limited to 'examples/ntfs-shell/main.rs')
-rw-r--r--examples/ntfs-shell/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ntfs-shell/main.rs b/examples/ntfs-shell/main.rs
index 988f675..3df1b59 100644
--- a/examples/ntfs-shell/main.rs
+++ b/examples/ntfs-shell/main.rs
@@ -10,11 +10,11 @@ use std::io::{BufReader, Read, Seek, Write};
use anyhow::{anyhow, bail, Context, Result};
use chrono::{DateTime, Utc};
+use ntfs::attribute_value::NtfsAttributeValue;
use ntfs::indexes::NtfsFileNameIndex;
use ntfs::structured_values::{
NtfsAttributeList, NtfsFileName, NtfsFileNamespace, NtfsStandardInformation,
};
-use ntfs::value::NtfsValue;
use ntfs::{Ntfs, NtfsAttribute, NtfsAttributeType, NtfsFile, NtfsReadSeek};
use sector_reader::SectorReader;
@@ -176,7 +176,7 @@ fn attr_print_attribute<'n>(
);
if with_runs {
- if let NtfsValue::NonResidentAttribute(non_resident_value) = attribute.value()? {
+ if let NtfsAttributeValue::NonResident(non_resident_value) = attribute.value()? {
for (i, data_run) in non_resident_value.data_runs().enumerate() {
let data_run = data_run?;
let instance = format!("{}{}", data_run_prefix, i);