NuDB icon indicating copy to clipboard operation
NuDB copied to clipboard

Open details to the public API

Open vinniefalco opened this issue 8 years ago • 2 comments

In order that authors be able to write tools for nudb, details such as the file format types (e.g. detail::dat_file_header) and the functions to interact with it need to be part of the public interface.

vinniefalco avatar Aug 17 '16 00:08 vinniefalco

Although, the rekey operation should probably be a public function instead of exposing ALL the details such as the bucket structures.

vinniefalco avatar Aug 17 '16 00:08 vinniefalco

rekey is a public API now, and I'm having second thoughts about exposing all the details. Because then people might rely on it. There should be an understanding, that third party tools which rely on the implementation details of the database, might break when new versions are released. So its okay to leave things in detail namespace.

I'm open to counter arguments

vinniefalco avatar Sep 03 '16 12:09 vinniefalco