mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
listObjects: Cleanup and naming conventions.
- Marker should be escaped outside in handlers. - Delimiter should be handled outside in handlers. - Add missing comments and change the function names. - Handle case of 'maxKeys' when its set to '0', its a valid case and should be treated as such.
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
85ab1df5a8
commit
c69fdf0cf2
+2
-1
@@ -20,6 +20,7 @@ package main
|
||||
|
||||
import "syscall"
|
||||
|
||||
func skipDirent(dirent *syscall.Dirent) bool {
|
||||
// True if dirent is absent in directory.
|
||||
func isEmptyDirent(dirent *syscall.Dirent) bool {
|
||||
return dirent.Fileno == 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user