Module rebar_resource

This module defines the rebar_resource behaviour.
Required callback functions: lock/2, download/3, needs_update/2, make_vsn/1.

Data Types

location()

location() = string()

ref()

ref() = any()

source()

source() = {type(), location(), ref()} | {type(), location(), ref(), binary()}

type()

type() = atom()

Function Index

download/4
lock/2
make_vsn/2
needs_update/2
new/3

Function Details

download/4

download(Module, TmpDir, AppInfo, State) -> any()

lock/2

lock(Module, AppInfo) -> any()

make_vsn/2

make_vsn(Module, AppInfo) -> any()

needs_update/2

needs_update(Module, AppInfo) -> any()

new/3

new(Type::type(), Module::module(), State::term()) -> rebar_resource_v2:resource()


Generated by EDoc