Commit Graph

262 Commits (master)

Author SHA1 Message Date
Matthieu MOREL 0a45e0f24d chore(golangci-lint): cover aix and cgo
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 week ago
Matthieu MOREL 30aff030d0 chore(golangci-lint): GOOS and GOARCH matrix
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 weeks ago
Matthieu MOREL 9ce2ec161e chore: enable golangci-lint on Windows and MacOS
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 month ago
uubulb 1f39525d2d refactor(darwin): optimize string allocation 2 months ago
Lomanic ec973203e9 [disk][netbsd] Generate cpu_netbsd_arm.go via mktypes.sh 5 months ago
uubulb 9e6efdb991 update disk & cpu & process 6 months ago
shirou 72d3ba4191 [disk][windows]: ignore network drive when not ready 7 months ago
shirou 37f531010d fix golangcilint errors, ignore gosec G115 7 months ago
shirou 5f158096be fix: golangci lint with max -> maxConn 7 months ago
Mingyang Zheng 16d7f3242c fix(IOCountersWithContext): Fix the issue of not using names to filter devices in func IOCountersWithContext of the windows implementation 7 months ago
shirou c34d29a8bf fix: rename v3 that remained in file c to v4 10 months ago
shirou d725bd1786 fix lint 10 months ago
shirou e9591b5b01 rename redundant test function names, such as TestCPU in cpu package 10 months ago
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
Dylan Myers ff4ae36cc0 Remove extraneous development note comments
Move a function from nocgo to main file for disk package
10 months ago
Dylan Myers 9bf502f825 Fix logic errors, syntax errors, and typos 10 months ago
Dylan Myers 0917790819 Remove inappropriate package addition 10 months ago
Dylan Myers 3bf34ce7fb Add AIX disk serial numbers for nocgo 10 months ago
Dylan Myers ea8f72ed4a Add Usage for AIX nocgo 10 months ago
majorteach 71b81735f9 chore: fix typo
Signed-off-by: majorteach <csgcgl@126.com>
12 months ago
Jonathan Matthew 27ffa28a0d add support for OpenBSD/riscv64 1 year ago
shirou ce11e9ca5f [linux][disk]: fix Rdev cast 1 year ago
Ville Skyttä adaeba09d9 feat(disk): look for filesystem labels from udev on Linux 1 year ago
shirou 4870f6f119
Merge pull request #1569 from scop/perf/regex-compile
Avoid repeated regexp compilations
1 year ago
Ville Skyttä 11bc5b3970 Avoid some uses of regexps 1 year ago
Ville Skyttä 362fa4b9c4 Avoid repeated regexp compilations 1 year ago
Justin Yang 826037fe4b Fix build_test on amd64 NetBSD 1 year ago
Justin Yang 7ffb24dbe3
Merge branch 'shirou:master' into feature/netbsd-arm64-port 1 year ago
Justin Yang def3572629 format the code 2 years ago
Justin Yang 734a7a6e55 disk: we should use frsize as the real block size 2 years ago
Justin Yang dd0253b0ec disk: fix various bugs 2 years ago
Justin Yang 319f5ea6e5 disk: small improvement, but still doesn't work 2 years ago
Justin Yang 1136aa25da disk: code can be compiled now, but test still failed though 2 years ago
Justin Yang ec817bfa68 disk: code cleanup (not finish yet) 2 years ago
Justin Yang caafa49ed1 disk: code cleanup 2 years ago
Justin Yang b6a10e04e7 disk: Implement Usage for NetBSD 2 years ago
Justin Yang 7df86f0f6a Add disk partitions support for NetBSD 2 years ago
shirou 0665cafa1b chore: replace deprecated ioutil package to os and io 2 years ago
Justin Yang 302751d509 disk: start porting to NetBSD, far from complete 2 years ago
Greg Dallavalle 0a23dc690f comment cleanup 2 years ago
Greg Dallavalle b2d1f05f08 update comment 2 years ago
Greg aa4c84c6b3
Update disk/disk_linux.go
Co-authored-by: shirou <shirou.faw@gmail.com>
2 years ago
Greg Dallavalle 0ca6266393 fix IOCounters() SerialNumber enumeration 2 years ago
Ozan HACIBEKİROĞLU 1ed7ea75d7 fix: fixed windows disk package leaks
- fixed goroutine leak in PartitionsWithContext
- closed registry handle in init
2 years ago
Antoine Toulme b712e59295 fix more linting reports 2 years ago
Antoine Toulme 38b94668ea allow to pass context values to override environment variables 2 years ago
Matthieu MOREL 1fb1e3e3e6 ci(lint): correct gci linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
shirou 586926508c
Merge pull request #1431 from powersj/fix/1429
fix: moves common.Warnings to common OS files
2 years ago
Josh Powers e7c6b6991d
fix: moves common.Warnings to common OS files
This allows all OS types to unwrap the Warnings from errors, and not
just linux in host or windows in disk.

fixes: #1429
2 years ago
David Newhall II 3a88ef27a5 close channel in function that sends to it 2 years ago