Closed CMCDragonkai closed 2 years ago
Added the fresh parameter and also added ErrorDBCreate and ErrorDBDelete for when we are doing fs operations.
fresh
ErrorDBCreate
ErrorDBDelete
Also when creating the dbPath, we don't create the parent directories automatically. That should be the case.
dbPath
Also changed to using this.constructor.name instead of 'DB'.
this.constructor.name
'DB'
Part of CLI review in https://gitlab.com/MatrixAI/Engineering/Polykey/js-polykey/-/merge_requests/213
Description
Added the
fresh
parameter and also addedErrorDBCreate
andErrorDBDelete
for when we are doing fs operations.Also when creating the
dbPath
, we don't create the parent directories automatically. That should be the case.Also changed to using
this.constructor.name
instead of'DB'
.Part of CLI review in https://gitlab.com/MatrixAI/Engineering/Polykey/js-polykey/-/merge_requests/213
Final checklist