(dst []byte, prefix byte, key []byte)
| 60 | } |
| 61 | |
| 62 | func makePrefixedKey(dst []byte, prefix byte, key []byte) []byte { |
| 63 | dst = ensureBuffer(dst, len(key)+1) |
| 64 | dst[0] = prefix |
| 65 | copy(dst[1:], key) |
| 66 | return dst |
| 67 | } |
| 68 | |
| 69 | // Commit current transaction cache to block cache |
| 70 | func (self *CacheDB) Commit() { |
no test coverage detected