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)
| 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, |
no outgoing calls