Browse Source

Fix spec for download callback

pull/2413/head
Stavros Aronis 4 years ago
committed by GitHub
parent
commit
d1550e71dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_resource_v2.erl

+ 1
- 1
src/rebar_resource_v2.erl View File

@ -30,7 +30,7 @@
-callback init(type(), rebar_state:t()) -> {ok, resource()}. -callback init(type(), rebar_state:t()) -> {ok, resource()}.
-callback lock(rebar_app_info:t(), resource_state()) -> source(). -callback lock(rebar_app_info:t(), resource_state()) -> source().
-callback download(file:filename_all(), rebar_app_info:t(), resource_state(), rebar_state:t()) ->
-callback download(file:filename_all(), rebar_app_info:t(), rebar_state:t(), resource_state()) ->
ok | {error, any()}. ok | {error, any()}.
-callback needs_update(rebar_app_info:t(), resource_state()) -> boolean(). -callback needs_update(rebar_app_info:t(), resource_state()) -> boolean().
-callback make_vsn(rebar_app_info:t(), resource_state()) -> -callback make_vsn(rebar_app_info:t(), resource_state()) ->

Loading…
Cancel
Save