MCPcopy Create free account
hub / github.com/buke/quickjs-go / newHandleStore

Function newHandleStore

handle.go:17–19  ·  view source on GitHub ↗

NewHandleStore creates a new handle store

()

Source from the content-addressed store, hash-verified

15
16// NewHandleStore creates a new handle store
17func newHandleStore() *handleStore {
18 return newHandleStoreWithStartID(1)
19}
20
21// NewHandleStoreWithStartID creates a new handle store with custom start ID (for testing)
22func newHandleStoreWithStartID(startID int32) *handleStore {

Calls 1