(k string)
| 118 | } |
| 119 | |
| 120 | func checkPath(k string) os.Error { |
| 121 | if !pathRe.MatchString(k) { |
| 122 | return ErrBadPath |
| 123 | } |
| 124 | return nil |
| 125 | } |
| 126 | |
| 127 | // Returns a mutation that can be applied to a `Store`. The mutation will set |
| 128 | // the contents of the file at `path` to `body` iff `rev` is greater than |
no outgoing calls