You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/disk
Max Altgelt 71c5b00525
fix: don't assume GetDriveType returns error
GetDriveType does not set an error for GetLastError, see
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdrivetypea.
Fix some code that assumed this.
Also prefer windows.GetDriveType to a direct call.
2 weeks ago
..
disk.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_aix.go chore: enable gocritic linter 2 months ago
disk_aix_cgo.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_aix_nocgo.go chore: enable ineffassign linter 4 weeks ago
disk_darwin.go chore: enable staticcheck linter 3 weeks ago
disk_fallback.go chore: enable unused-parameter from revive 2 months ago
disk_freebsd.go Merge pull request #1783 from mmorel-35/revive/unused-parameter 2 months ago
disk_freebsd_386.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_freebsd_amd64.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_freebsd_arm.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_freebsd_arm64.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_linux.go [disk][linux] add bcachefs magic 1 month ago
disk_netbsd.go chore: enable unused-parameter from revive 2 months ago
disk_netbsd_amd64.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_netbsd_arm.go [disk][netbsd] Generate cpu_netbsd_arm.go via mktypes.sh 8 months ago
disk_netbsd_arm64.go add SPDX License, remove old build tag, and replace import 1 year ago
disk_openbsd.go chore: enable unused-parameter from revive 2 months ago
disk_openbsd_386.go fix lint 1 year ago
disk_openbsd_amd64.go fix lint 1 year ago
disk_openbsd_arm.go fix lint 1 year ago
disk_openbsd_arm64.go fix lint 1 year ago
disk_openbsd_riscv64.go fix lint 1 year ago
disk_solaris.go chore: enable unused-parameter from revive 2 months ago
disk_test.go chore: enable begin rule from thelper 2 months ago
disk_unix.go chore: enable unused-parameter from revive 2 months ago
disk_windows.go fix: don't assume GetDriveType returns error 2 weeks ago
types_freebsd.go add SPDX License, remove old build tag, and replace import 1 year ago
types_netbsd.go add SPDX License, remove old build tag, and replace import 1 year ago
types_openbsd.go add SPDX License, remove old build tag, and replace import 1 year ago