MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ResetBucket

Function ResetBucket

crypto/kms/pubkeystore.go:333–337  ·  view source on GitHub ↗

ResetBucket this bucket.

()

Source from the content-addressed store, hash-verified

331
332// ResetBucket this bucket.
333func ResetBucket() error {
334 // cause we are going to reset the bucket, the return of removeBucket
335 // is not useful
336 return removeBucket()
337}
338
339// ClosePublicKeyStore closes the public key store.
340func ClosePublicKeyStore() {

Callers 15

ResetMethod · 0.92
TestAddFunction · 0.92
TestRemoveFunction · 0.92
TestRemoveNonExistingFunction · 0.92
TestGetEmptyFunction · 0.92
TestGetSingleFunction · 0.92
TestConsistent_GetNodeFunction · 0.92
TestGetMultipleFunction · 0.92
TestGetMultipleQuickFunction · 0.92
TestGetMultipleRemoveFunction · 0.92
TestGetTwoFunction · 0.92

Calls 1

removeBucketFunction · 0.85

Tested by 15

TestAddFunction · 0.74
TestRemoveFunction · 0.74
TestRemoveNonExistingFunction · 0.74
TestGetEmptyFunction · 0.74
TestGetSingleFunction · 0.74
TestConsistent_GetNodeFunction · 0.74
TestGetMultipleFunction · 0.74
TestGetMultipleQuickFunction · 0.74
TestGetMultipleRemoveFunction · 0.74
TestGetTwoFunction · 0.74
TestGetTwoEmptyFunction · 0.74