IsRecordKey is used to check whether the key is an record key.
(k []byte)
| 1147 | |
| 1148 | // IsRecordKey is used to check whether the key is an record key. |
| 1149 | func IsRecordKey(k []byte) bool { |
| 1150 | return len(k) > 11 && k[0] == 't' && k[10] == 'r' |
| 1151 | } |
| 1152 | |
| 1153 | // IsIndexKey is used to check whether the key is an index key. |
| 1154 | func IsIndexKey(k []byte) bool { |
no outgoing calls