Skip to content

Commit

Permalink
Update store/cachekv/store.go
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <huang@crypto.com>
  • Loading branch information
yihuang authored Mar 29, 2024
1 parent dfa2fc9 commit 012ae21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/cachekv/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (store *GStore[V]) GetStoreType() types.StoreType {
}

// Clone creates a copy-on-write snapshot of the cache store,
// it only performs a shadowed copy so is very fast.
// it only performs a shallow copy so is very fast.
func (store *GStore[V]) Clone() types.BranchStore {
return &GStore[V]{
writeSet: store.writeSet.Copy(),
Expand Down

0 comments on commit 012ae21

Please sign in to comment.