Commit Graph

275 Commits (f9f5620e1e8327c1885f662ae6312b19779f9c68)

Author SHA1 Message Date
NewbieOrange 212dfbbb39
[disk][linux] add bcachefs magic 1 month ago
shirou 6d4c8e567e
[disk][darwin]:rename unused parameter in function to fix lint 2 months ago
shirou 935bb6c8f3
Merge branch 'master' into support-get-disk-serial-number-darwin 2 months ago
shirou 7b14b866f1
Merge pull request #1783 from mmorel-35/revive/unused-parameter
chore: enable unused-parameter from revive
2 months ago
shirou 9d29c70c52
Merge pull request #1813 from mmorel-35/gocritic
chore: enable gocritic linter
2 months ago
shirou 2ab27a0ba3
Merge pull request #1817 from mmorel-35/revive/var-naming
chore: enable var-naming from revive
2 months ago
Matthieu MOREL dfdd90ab72 chore: enable gocritic linter 2 months ago
Matthieu MOREL 9925fd41ec chore: enable var-naming from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
Matthieu MOREL dc9b409803 chore: enable unused-parameter from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
Matthieu MOREL a5e496769c chore: enable begin rule from thelper
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 months ago
Matthieu MOREL 8c1a718a5d chore: use testify instead of testing
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 months ago
Matthieu MOREL 0a45e0f24d chore(golangci-lint): cover aix and cgo
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 months ago
Sam Burba 9fc28f2f22 Refactor: Improve formatting, update struct naming, and optimize JSON parsing.
a
3 months ago
Sam Burba 15c5b67917 add support for get disk serial number on darwin 3 months ago
Matthieu MOREL 30aff030d0 chore(golangci-lint): GOOS and GOARCH matrix
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 months ago
Matthieu MOREL 9ce2ec161e chore: enable golangci-lint on Windows and MacOS
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
4 months ago
uubulb 1f39525d2d refactor(darwin): optimize string allocation 5 months ago
Lomanic ec973203e9 [disk][netbsd] Generate cpu_netbsd_arm.go via mktypes.sh 8 months ago
uubulb 9e6efdb991 update disk & cpu & process 8 months ago
shirou 72d3ba4191 [disk][windows]: ignore network drive when not ready 9 months ago
shirou 37f531010d fix golangcilint errors, ignore gosec G115 9 months ago
shirou 5f158096be fix: golangci lint with max -> maxConn 9 months ago
Mingyang Zheng 16d7f3242c fix(IOCountersWithContext): Fix the issue of not using names to filter devices in func IOCountersWithContext of the windows implementation 10 months ago
shirou c34d29a8bf fix: rename v3 that remained in file c to v4 1 year ago
shirou d725bd1786 fix lint 1 year ago
shirou e9591b5b01 rename redundant test function names, such as TestCPU in cpu package 1 year ago
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 1 year ago
Dylan Myers ff4ae36cc0 Remove extraneous development note comments
Move a function from nocgo to main file for disk package
1 year ago
Dylan Myers 9bf502f825 Fix logic errors, syntax errors, and typos 1 year ago
Dylan Myers 0917790819 Remove inappropriate package addition 1 year ago
Dylan Myers 3bf34ce7fb Add AIX disk serial numbers for nocgo 1 year ago
Dylan Myers ea8f72ed4a Add Usage for AIX nocgo 1 year ago
majorteach 71b81735f9 chore: fix typo
Signed-off-by: majorteach <csgcgl@126.com>
1 year 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 2 years ago
Justin Yang 7ffb24dbe3
Merge branch 'shirou:master' into feature/netbsd-arm64-port 2 years 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