(bucket string)
| 899 | } |
| 900 | |
| 901 | func bucketValid(bucket string) bool { |
| 902 | if len(bucket) == 0 { |
| 903 | return false |
| 904 | } |
| 905 | return validBucketRe.MatchString(bucket) |
| 906 | } |
| 907 | |
| 908 | func keyValid(key string) bool { |
| 909 | if len(key) == 0 || key[0] == '.' || key[len(key)-1] == '.' { |
no outgoing calls