Skip to content

Commit 2c4ad1c

Browse files
committed
Release 1.156.2025
1 parent bb1c9fa commit 2c4ad1c

18 files changed

Lines changed: 79 additions & 1128 deletions

Functions/GenXdev.FileSystem/AssurePester.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ function AssurePester {
2424
Microsoft.PowerShell.Utility\Write-Verbose "Checking for Pester module installation..."
2525
}
2626

27-
process {
27+
28+
process {
2829

2930
# attempt silent import of pester to check if it's available
3031
Microsoft.PowerShell.Core\Import-Module -Name Pester -ErrorAction SilentlyContinue

Functions/GenXdev.FileSystem/Expand-Path.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ function Expand-Path {
115115
$normalizedPath.EndsWith([System.IO.Path]::AltDirectorySeparatorChar)
116116
}
117117

118-
process {
118+
119+
process {
119120

120121
# expand home directory if path starts with ~
121122
if ($normalizedPath.StartsWith("~")) {

Functions/GenXdev.FileSystem/Find-DuplicateFiles.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ function Find-DuplicateFiles {
8989
$allFiles = [System.Collections.Generic.List[System.IO.FileInfo]]::new()
9090
}
9191

92-
process {
92+
93+
process {
9394

9495
foreach ($path in $normalizedPaths) {
9596

Functions/GenXdev.FileSystem/Find-Item.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ function Find-Item {
162162
########################################################################
163163
)
164164

165-
process {
165+
166+
process {
166167

167168
Microsoft.PowerShell.Utility\Write-Verbose ("Starting search with patterns: " +
168169
($SearchMask -join ", "))
@@ -605,4 +606,4 @@ function Find-Item {
605606
end {
606607
}
607608
}
608-
################################################################################
609+
################################################################################É

Functions/GenXdev.FileSystem/Invoke-Fasti.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ function Invoke-Fasti {
4242
"*.vmdk", "*.wim", "*.xar", "*.z")
4343
}
4444

45-
process {
45+
46+
process {
4647

4748
# process each archive file found in current directory
4849
Microsoft.PowerShell.Management\Get-ChildItem $extensions -File -ErrorAction SilentlyContinue |

Functions/GenXdev.FileSystem/Move-ItemWithTracking.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ public static extern bool MoveFileEx(
9999
}
100100
}
101101

102-
process {
102+
103+
process {
103104
try {
104105
# convert relative paths to absolute filesystem paths
105106
$fullSourcePath = GenXdev.FileSystem\Expand-Path $Path

Functions/GenXdev.FileSystem/Move-ToRecycleBin.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ function Move-ToRecycleBin {
5858
}
5959
}
6060

61-
process {
61+
62+
process {
6263

6364
foreach ($itemPath in $Path) {
6465

Functions/GenXdev.FileSystem/Remove-AllItems.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ function Remove-AllItems {
7777
}
7878
}
7979

80-
process {
80+
81+
process {
8182
try {
8283
# skip processing if target directory doesn't exist
8384
if (![System.IO.Directory]::Exists($Path)) {

Functions/GenXdev.FileSystem/Remove-ItemWithFallback.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ function Remove-ItemWithFallback {
5050
$Path = GenXdev.FileSystem\Expand-Path $Path
5151
}
5252

53-
process {
53+
54+
process {
5455
try {
5556
# verify item exists and get its provider information
5657
$item = Microsoft.PowerShell.Management\Get-Item -LiteralPath $Path `

Functions/GenXdev.FileSystem/Remove-OnReboot.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ function Remove-OnReboot {
6666
}
6767
}
6868

69-
process {
69+
70+
process {
7071

7172
try {
7273
foreach ($item in $Path) {

0 commit comments

Comments
 (0)