()
| 82 | } |
| 83 | |
| 84 | func (c CommitEntryKey) Split() ( |
| 85 | repoPath string, |
| 86 | commitSHA string, |
| 87 | path string, |
| 88 | ) { |
| 89 | parts := strings.Split(string(c), separatorZero) |
| 90 | if len(parts) != 3 { |
| 91 | return |
| 92 | } |
| 93 | |
| 94 | repoPath = parts[0] |
| 95 | commitSHA = parts[1] |
| 96 | path = parts[2] |
| 97 | |
| 98 | return |
| 99 | } |
| 100 | |
| 101 | type commitValueCodec struct{} |
| 102 |
no outgoing calls