MCPcopy
hub / github.com/caddyserver/certmagic / Delete

Method Delete

storage.go:88–88  ·  view source on GitHub ↗

Delete deletes the named key. If the name is a directory (i.e. prefix of other keys), all keys prefixed by this key should be deleted. An error should be returned only if the key still exists when the method returns.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

86 // should be returned only if the key still exists
87 // when the method returns.
88 Delete(ctx context.Context, key string) error
89
90 // Exists returns true if the key exists either as
91 // a directory (prefix to other keys) or a file,

Callers 10

CleanUpMethod · 0.65
deleteAccountLocallyMethod · 0.65
storeTxFunction · 0.65
deleteOldOCSPStaplesFunction · 0.65
deleteExpiredCertsFunction · 0.65
stapleOCSPFunction · 0.65
DeleteMethod · 0.65
checkStorageMethod · 0.65
deleteSiteAssetsMethod · 0.65

Implementers 3

memoryStorageaccount_test.go
recordingStorageaccount_test.go
FileStoragefilestorage.go

Calls

no outgoing calls

Tested by 1

DeleteMethod · 0.52