diff options
author | Colin Finck <colin@reactos.org> | 2022-01-14 09:45:00 +0300 |
---|---|---|
committer | Colin Finck <colin@reactos.org> | 2022-01-14 09:45:00 +0300 |
commit | 8ec351207510040c65cfb44e3c7041a62b64f16d (patch) | |
tree | 4296f059abf608d0f774480f930df23be1cdadcf /src/structured_values/file_name.rs | |
parent | f1513b4fdbaace1898375824712563021994c8cb (diff) |
Fix docs for now.0.1.0
Diffstat (limited to 'src/structured_values/file_name.rs')
-rw-r--r-- | src/structured_values/file_name.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/structured_values/file_name.rs b/src/structured_values/file_name.rs index 09467eb..a3afa17 100644 --- a/src/structured_values/file_name.rs +++ b/src/structured_values/file_name.rs @@ -125,12 +125,12 @@ impl NtfsFileName { /// fetch the corresponding [`NtfsAttribute`], and use [`NtfsAttribute::value`] to fetch the corresponding /// [`NtfsAttributeValue`]. /// For non-resident attribute values, you now need to walk through each Data Run and sum up the return values of - /// [`NtfsDataRun::len`]. - /// For resident attribute values, there is no extra allocated size. + /// [`NtfsDataRun::allocated_size`]. + /// For resident attribute values, the length equals the allocated size. /// /// [`NtfsAttribute`]: crate::NtfsAttribute /// [`NtfsAttribute::value`]: crate::NtfsAttribute::value - /// [`NtfsDataRun::len`]: crate::attribute_value::NtfsDataRun::len + /// [`NtfsDataRun::allocated_size`]: crate::attribute_value::NtfsDataRun::allocated_size /// [`NtfsFile::data`]: crate::NtfsFile::data pub fn allocated_size(&self) -> u64 { self.header.allocated_size |