func (bcfg *BucketConfig) GetRootPrefix() string {
	key := bcfg.Prefix
	// Check if key ends with a /, if key exists and don't ends with / add it
	if key != "" && !strings.HasSuffix(key, "/") {
		key += "/"
	}
	// Return result
	return key
}
// GetRootPrefix Get bucket root prefix.
GetRootPrefix Get bucket root prefix.
// GetRootPrefix Get bucket root prefix .
func (bcfg *BucketConfig) GetRootPrefix() string {
	key := bcfg.Prefix
	if key != "" && !strings.HasSuffix(key, "/") {
		key += "/"
	}
	return key
}
func ( bcfg * BucketConfig ) GetRootPrefix ( ) string { key := bcfg . Prefix if key != " " && ! strings . HasSuffix ( key , " " ) { key += " " } return key }
GetRootPrefix Get bucket root prefix.
GetRootPrefix Get bucket root prefix .
// Check if key ends with a /, if key exists and don't ends with / add it // Return result