Change key() definition to not allow integer keys
This commit is contained in:
parent
402dd2a663
commit
c64dc1df0d
2 changed files with 7 additions and 4 deletions
|
@ -163,6 +163,8 @@
|
|||
-type timing_types() :: head|get|put|fold.
|
||||
-type recent_aae() :: false|#recent_aae{}|undefined.
|
||||
-type key() :: binary()|string().
|
||||
% Keys SHOULD be binary()
|
||||
% string() support is a legacy of old tests
|
||||
-type open_options() ::
|
||||
%% For full description of options see ../docs/STARTUP_OPTIONS.md
|
||||
[{root_path, string()|undefined} |
|
||||
|
@ -279,6 +281,8 @@
|
|||
% Defaults to ?COMPRESSION_POINT
|
||||
].
|
||||
|
||||
-export_type([key/0]).
|
||||
|
||||
|
||||
%%%============================================================================
|
||||
%%% API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue