fix(ds): fix `drop_generation` typespec
This typespec fix will be used downstream by other backends.
This commit is contained in:
parent
8b66ea7852
commit
06334798a5
|
@ -263,7 +263,7 @@ list_generations_with_lifetimes(DB) ->
|
||||||
Mod = ?module(DB),
|
Mod = ?module(DB),
|
||||||
call_if_implemented(Mod, list_generations_with_lifetimes, [DB], #{}).
|
call_if_implemented(Mod, list_generations_with_lifetimes, [DB], #{}).
|
||||||
|
|
||||||
-spec drop_generation(db(), generation_rank()) -> ok | {error, _}.
|
-spec drop_generation(db(), ds_specific_generation_rank()) -> ok | {error, _}.
|
||||||
drop_generation(DB, GenId) ->
|
drop_generation(DB, GenId) ->
|
||||||
Mod = ?module(DB),
|
Mod = ?module(DB),
|
||||||
case erlang:function_exported(Mod, drop_generation, 2) of
|
case erlang:function_exported(Mod, drop_generation, 2) of
|
||||||
|
|
Loading…
Reference in New Issue