mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Inline small file data in xl.meta file (#11758)
This commit is contained in:
@@ -207,6 +207,9 @@ const SlashSeparator = "/"
|
||||
|
||||
// retainSlash - retains slash from a path.
|
||||
func retainSlash(s string) string {
|
||||
if s == "" {
|
||||
return s
|
||||
}
|
||||
return strings.TrimSuffix(s, SlashSeparator) + SlashSeparator
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user