diff --git a/src/lib/KVStore.hx b/src/lib/KVStore.hx index 25b7f2f..ab210f8 100644 --- a/src/lib/KVStore.hx +++ b/src/lib/KVStore.hx @@ -16,6 +16,11 @@ class KVStore { this.namespace = namespace; } + public static function removeNamespace(namespace: String): Void { + var nsFile = getNamespaceFile(namespace); + FS.delete(nsFile); + } + private static function getNamespaceFile(namespace: String): String { return '/var/ns/$namespace'; }