diff options
-rw-r--r-- | src/rebar_state.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl index d421fdd..68c71a9 100644 --- a/src/rebar_state.erl +++ b/src/rebar_state.erl @@ -298,9 +298,11 @@ namespace(#state_t{namespace=Namespace}) -> namespace(State=#state_t{}, Namespace) -> State#state_t{namespace=Namespace}. +-spec resources(t()) -> rebar_resource:resource(). resources(#state_t{resources=Resources}) -> Resources. +-spec resources(t(), [rebar_resource:resource()]) -> t(). resources(State, NewResources) -> State#state_t{resources=NewResources}. |