Cleanup most dialyzer errrors in leveled_inker

This commit is contained in:
Heinz N. Gies 2017-07-31 19:47:58 +02:00
parent 44fd603474
commit eece253222
2 changed files with 12 additions and 12 deletions

View file

@ -35,19 +35,19 @@
-record(cdb_options,
{max_size :: integer(),
file_path :: string(),
waste_path :: string(),
file_path :: string() | undefined,
waste_path :: string() | undefined,
binary_mode = false :: boolean(),
sync_strategy = sync}).
-record(inker_options,
{cdb_max_size :: integer(),
root_path :: string(),
{cdb_max_size :: integer() | undefined,
root_path :: string() | undefined,
cdb_options :: #cdb_options{},
start_snapshot = false :: boolean(),
source_inker :: pid(),
source_inker :: pid() | undefined,
reload_strategy = [] :: list(),
waste_retention_period :: integer(),
waste_retention_period :: integer() | undefined,
max_run_length}).
-record(penciller_options,

View file

@ -128,15 +128,15 @@
-record(state, {manifest = [] :: list(),
manifest_sqn = 0 :: integer(),
journal_sqn = 0 :: integer(),
active_journaldb :: pid(),
active_journaldb :: pid() | undefined,
pending_removals = [] :: list(),
registered_snapshots = [] :: list(),
root_path :: string(),
cdb_options :: #cdb_options{},
clerk :: pid(),
root_path :: string() | undefined,
cdb_options :: #cdb_options{} | undefined,
clerk :: pid() | undefined,
compaction_pending = false :: boolean(),
is_snapshot = false :: boolean(),
source_inker :: pid()}).
source_inker :: pid() | undefined}).
-type inker_options() :: #inker_options{}.