diff options
Diffstat (limited to 'src/csv.rs')
-rw-r--r-- | src/csv.rs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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, |