Any
MoveToDecade
This commit is contained in:
Delete-By-Relative
Distance/Models
Drag-Drop-Explorer
Drag-Drop-Move
Face/Models
FaceRecognitionDotNet/Dlib/Python
Instance
Map/Models
PhotoPrism/Models
Property/Models
Set-Created-Date
Shared
.kanbn
archive
index.mdtasks
add-facebook-and-linked-in-txt-to-ged.mdlook-for-family-from-jlink-in-x-mapped.mdmerge-kristy-files.mdmove-images-in-distance-directories-to-decade-match-minimum-decade-match-maximum-decade-match-none.mdmove-over-2023-california-pictures.mdrename-files-to-padded-number-string.mdreview-what-system-does-when-duplicate-matched-with-x-and-non-x.mdrun-scan-originals.mdverify-person-key-collection-fixed-x-issue.md
Models
@ -32,7 +32,7 @@ internal abstract class XPath
|
||||
bool result;
|
||||
List<string> results = new();
|
||||
DeleteEmptyDirectories(rootDirectory, results);
|
||||
result = results.Any();
|
||||
result = results.Count > 0;
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ internal abstract class XPath
|
||||
{
|
||||
DeleteEmptyDirectories(directory, check);
|
||||
deletedDirectories.AddRange(check);
|
||||
if (check.Any())
|
||||
if (check.Count > 0)
|
||||
DeleteEmptyDirectories(directory, deletedDirectories);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user