IsIndexKey is used to check whether the key is an index key.
(k []byte)
| 1152 | |
| 1153 | // IsIndexKey is used to check whether the key is an index key. |
| 1154 | func IsIndexKey(k []byte) bool { |
| 1155 | return len(k) > 11 && k[0] == 't' && k[10] == 'i' |
| 1156 | } |
| 1157 | |
| 1158 | // IsTableKey is used to check whether the key is a table key. |
| 1159 | func IsTableKey(k []byte) bool { |
no outgoing calls