Add vitastor_c_delete() and delete() to the node.js binding

This commit is contained in:
Vitaliy Filippov
2025-02-15 18:27:17 +03:00
parent 2ead06e126
commit 27f3803d2f
5 changed files with 114 additions and 19 deletions
+1
View File
@@ -14,6 +14,7 @@ NAN_MODULE_INIT(InitAddon)
Nan::SetPrototypeMethod(tpl, "read", NodeVitastor::Read);
Nan::SetPrototypeMethod(tpl, "write", NodeVitastor::Write);
Nan::SetPrototypeMethod(tpl, "delete", NodeVitastor::Delete);
Nan::SetPrototypeMethod(tpl, "sync", NodeVitastor::Sync);
Nan::SetPrototypeMethod(tpl, "read_bitmap", NodeVitastor::ReadBitmap);
Nan::SetPrototypeMethod(tpl, "on_ready", NodeVitastor::OnReady);