minio/internal/dsync
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
..
.gitignore rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
drwmutex_test.go re-use rand.New() do not repeat allocate. (#13448) 2021-10-18 08:39:59 -07:00
drwmutex.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
dsync_test.go re-use rand.New() do not repeat allocate. (#13448) 2021-10-18 08:39:59 -07:00
dsync-server_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
dsync.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
lock-args_gen_test.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
lock-args_gen.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
lock-args.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
locked_rand.go re-use rand.New() do not repeat allocate. (#13448) 2021-10-18 08:39:59 -07:00
rpc-client-impl_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rpc-client-interface.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00