minio/internal/disk
Harshavardhana 661b263e77
add gocritic/ruleguard checks back again, cleanup code. (#13665)
- remove some duplicated code
- reported a bug, separately fixed in #13664
- using strings.ReplaceAll() when needed
- using filepath.ToSlash() use when needed
- remove all non-Go style comments from the codebase

Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
2021-11-16 09:28:29 -08:00
..
directio_darwin.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
directio_unix.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
directio_unsupported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk_test.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk_unix.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk_windows.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
fdatasync_linux.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
fdatasync_unix.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
fdatasync_unsupported.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
health.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
root_disk.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
stat_bsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_freebsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_linux_32bit.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_linux_s390x.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_linux.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_netbsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_openbsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_solaris.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
stat_windows.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
type_bsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
type_linux.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
type_windows.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00