1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-23 21:44:49 +02:00

build: update github.com/shirou/gopsutil to v4

v4 is the latest version with bug fixes and enhancements. While there
are 4 breaking changes in v4, they do not affect us because we do not
use the impacted functions.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun
2025-01-09 22:58:34 +08:00
committed by Nick Craig-Wood
parent 7692ef289f
commit 42240f4b5d
4 changed files with 8 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ package buildinfo
import (
"strings"
"github.com/shirou/gopsutil/v3/host"
"github.com/shirou/gopsutil/v4/host"
)
// GetOSVersion returns OS version, kernel and bitness

View File

@@ -5,7 +5,7 @@ import (
"strings"
"unsafe"
"github.com/shirou/gopsutil/v3/host"
"github.com/shirou/gopsutil/v4/host"
"golang.org/x/sys/windows"
)