Skip to content

Commit

Permalink
Merge pull request #117 from mniederw/trunk
Browse files Browse the repository at this point in the history
Merge trunk to main - Unittests are successful - Merge pull request #115 from mniederw/trunk
  • Loading branch information
mniederw authored Aug 28, 2024
2 parents 3a62697 + ad9e1c8 commit 25f18ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MnCommonPsToolLib/MnCommonPsToolLib.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
#HelpInfoURI = '';

ModuleVersion = '7.66';
ModuleVersion = '7.67';

<#
Releasenotes
Expand All @@ -43,6 +43,7 @@
Major version will reflect breaking changes, minor identifies extensions and third number identifies urgent bugfixes.
Breaking changes are usually removed deprecated functions or changed behaviours.
2024-08-26 V7.67 Fix DriveFreeSpace.
2024-08-18 V7.66 Fix FsEntryGetAbsolutePath, FsEntryListAsFileSystemInfo, DriveFreeSpace. Deprecate SvnExe. Extend OsWindowsRegRunDisable.
2024-08-13 V7.65 Added ProcessStartByArray, ProcessStartByCmdLine. OsWindowsPackageListInstalled, OsWindowsPackageUninstall, OsWindowsRegRunDisable. Extend Doc. Improve ToolInstallNuPckMgrAndCommonPsGalMo, TaskIsDisabled, OsWindowsPackageUninstall.
2024-08-10 V7.64 Extend Doc.
Expand Down
2 changes: 1 addition & 1 deletion MnCommonPsToolLib/MnCommonPsToolLib.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ function FsEntryGetSize ( [String] $fsEntry ){ # Must exis
Where-Object{$null -ne $_} | Measure-Object -Property length -sum;
if( $null -eq $size ){ return [Int64] 0; }
return [Int64] $size.sum; }
function DriveFreeSpace ( [String] $driveLetter ){ return [Int64] (Get-PSDrive $drive | Select-Object -ExpandProperty Free); } # Example: "C"
function DriveFreeSpace ( [String] $driveLetter ){ return [Int64] (Get-PSDrive $driveLetter | Select-Object -ExpandProperty Free); } # Example: "C"
function DirSep (){ return [Char] [IO.Path]::DirectorySeparatorChar; }
function DirExists ( [String] $dir ){
FsEntryAssertHasTrailingDirSep $dir;
Expand Down

0 comments on commit 25f18ca

Please sign in to comment.