Skip to content

Commit 75b3808

Browse files
committed
Release 1.280.2025
1 parent d03a3f8 commit 75b3808

23 files changed

+48
-48
lines changed

Functions/GenXdev.FileSystem/EnsurePester.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Part of PowerShell module : GenXdev.FileSystem
33
Original cmdlet filename : EnsurePester.ps1
44
Original author : René Vaessen / GenXdev
5-
Version : 1.278.2025
5+
Version : 1.280.2025
66
################################################################################
77
MIT License
88

Functions/GenXdev.FileSystem/Expand-Path.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Part of PowerShell module : GenXdev.FileSystem
33
Original cmdlet filename : Expand-Path.ps1
44
Original author : René Vaessen / GenXdev
5-
Version : 1.278.2025
5+
Version : 1.280.2025
66
################################################################################
77
MIT License
88

Functions/GenXdev.FileSystem/Find-DuplicateFiles.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Part of PowerShell module : GenXdev.FileSystem
33
Original cmdlet filename : Find-DuplicateFiles.ps1
44
Original author : René Vaessen / GenXdev
5-
Version : 1.278.2025
5+
Version : 1.280.2025
66
################################################################################
77
MIT License
88

Functions/GenXdev.FileSystem/Find-Item.Cmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Part of PowerShell module : GenXdev.FileSystem
33
// Original cmdlet filename : Find-Item.Cmdlet.cs
44
// Original author : René Vaessen / GenXdev
5-
// Version : 1.278.2025
5+
// Version : 1.280.2025
66
// ################################################################################
77
// MIT License
88
//

Functions/GenXdev.FileSystem/Find-Item.Fields.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Part of PowerShell module : GenXdev.FileSystem
33
// Original cmdlet filename : Find-Item.Fields.cs
44
// Original author : René Vaessen / GenXdev
5-
// Version : 1.278.2025
5+
// Version : 1.280.2025
66
// ################################################################################
77
// MIT License
88
//
@@ -210,6 +210,7 @@ public partial class FindItem : PSCmdlet
210210
// constraints for workers
211211
protected int baseMemoryPerWorker;
212212
protected int baseTargetWorkerCount;
213+
protected Func<bool> buffersFull;
213214
protected Func<int> maxDirectoryWorkersInParallel;
214215
protected Func<int> maxMatchWorkersInParallel;
215216

Functions/GenXdev.FileSystem/Find-Item.Initialization.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Part of PowerShell module : GenXdev.FileSystem
33
// Original cmdlet filename : Find-Item.Initialization.cs
44
// Original author : René Vaessen / GenXdev
5-
// Version : 1.278.2025
5+
// Version : 1.280.2025
66
// ################################################################################
77
// MIT License
88
//
@@ -56,7 +56,7 @@ private void InitializeParallelismConfiguration()
5656
Math.Max(1, MaxDegreeOfParallelism / 2);
5757

5858
int baseLength = baseMemoryPerWorker / 125;
59-
bool buffersFull = FileContentMatchQueue.Count <= baseLength ||
59+
buffersFull = () => FileContentMatchQueue.Count <= baseLength ||
6060
VerboseQueue.Count <= baseLength ||
6161
DirQueue.Count <= baseLength ||
6262
OutputQueue.Count <= baseLength;
@@ -66,7 +66,7 @@ private void InitializeParallelismConfiguration()
6666
// we are thinking about the memory being used
6767
// for storing paths to process
6868
// stop finding more files when queues get too full
69-
buffersFull ?
69+
buffersFull() ?
7070
Math.Min(DirQueue.Count, baseTargetWorkerCount) : 0;
7171

7272

Functions/GenXdev.FileSystem/Find-Item.Processing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Part of PowerShell module : GenXdev.FileSystem
33
// Original cmdlet filename : Find-Item.Processing.cs
44
// Original author : René Vaessen / GenXdev
5-
// Version : 1.278.2025
5+
// Version : 1.280.2025
66
// ################################################################################
77
// MIT License
88
//

Functions/GenXdev.FileSystem/Find-Item.Utilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Part of PowerShell module : GenXdev.FileSystem
33
// Original cmdlet filename : Find-Item.Utilities.cs
44
// Original author : René Vaessen / GenXdev
5-
// Version : 1.278.2025
5+
// Version : 1.280.2025
66
// ################################################################################
77
// MIT License
88
//
@@ -625,7 +625,7 @@ private void UpdateProgressStatus(bool force = false)
625625

626626
// build detailed status string showing directory and file counts
627627
StatusDescription = (
628-
"Directories: " + formatStat(dirsDone, true) + "/" + formatStat(DirQueue.Count, false) +
628+
"Folders: " + formatStat(dirsDone, true) + "/" + formatStat(DirQueue.Count, false) +
629629
" [" + formatStat(directoryProcessorsCount, false) + "] | Found: " + formatStat(fileOutputCount, false) +
630630
(matchingContent ? " | Matched: " + formatStat(fileMatchesStartedCount, true) + "/" + formatStat(queuedMatchesCount, false) + " [" + formatStat(matchProcessors, false) + "]" :
631631
string.Empty)

Functions/GenXdev.FileSystem/Invoke-Fasti.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Part of PowerShell module : GenXdev.FileSystem
33
Original cmdlet filename : Invoke-Fasti.ps1
44
Original author : René Vaessen / GenXdev
5-
Version : 1.278.2025
5+
Version : 1.280.2025
66
################################################################################
77
MIT License
88

Functions/GenXdev.FileSystem/MatchContentProcessor.cs.no

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ################################################################################
22
// Part of PowerShell module : GenXdev.FileSystem
33
// Original cmdlet filename : SelectString.cs
4-
// Version : 1.278.2025
4+
// Version : 1.280.2025
55
// ################################################################################
66
// MIT License
77
//

0 commit comments

Comments
 (0)