Fix spec for book_hotbackup/1

Returned function requires a backup path
This commit is contained in:
Martin Sumner 2021-11-09 11:50:21 +00:00
parent 82cc76c8c6
commit 8c4de27789

View file

@ -1120,7 +1120,7 @@ book_destroy(Pid) ->
gen_server:call(Pid, destroy, infinity).
-spec book_hotbackup(pid()) -> {async, fun(() -> ok)}.
-spec book_hotbackup(pid()) -> {async, fun((string()) -> ok)}.
%% @doc Backup the Bookie
%% Return a function that will take a backup of a snapshot of the Journal.
%% The function will be 1-arity, and can be passed the absolute folder name