diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | src/csv.rs | 7 |
3 files changed, 12 insertions, 3 deletions
@@ -1,4 +1,7 @@ # Generated by Cargo + +.idea + # will have compiled files and executables /target/ diff --git a/CHANGELOG.md b/CHANGELOG.md index b4b2131..42b4e09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.4] - 2019-06-19 + +### Fixed +- Fixed a bug where `HasAlternateDataStreams` will miss entries with only a single named stream. + ## [0.4.3] - 2019-06-06 ### Added @@ -92,9 +92,10 @@ impl FlatMftEntryWithName { let has_ads = entry_attributes .iter() - .filter(|a| a.header.type_code == MftAttributeType::DATA) - .count() - > 1; + .any(|a| { + a.header.type_code == MftAttributeType::DATA && a.header.name.len() > 0 + }); + FlatMftEntryWithName { entry_id: entry.header.record_number, |