(bucket string)
| 570 | func (e *kve) Operation() KeyValueOp { return e.op } |
| 571 | |
| 572 | func bucketValid(bucket string) bool { |
| 573 | if len(bucket) == 0 { |
| 574 | return false |
| 575 | } |
| 576 | return validBucketRe.MatchString(bucket) |
| 577 | } |
| 578 | |
| 579 | func keyValid(key string) bool { |
| 580 | if len(key) == 0 || key[0] == '.' || key[len(key)-1] == '.' { |
no outgoing calls
no test coverage detected