Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (26 sloc) 1.559 kb
edb6c9a @yrashk Added initial typespec for specification files
yrashk authored
1 -type url() :: string().
2
3 -type git_ref() :: sha1() |
4 {branch, string()} |
5 {tag, string()}.
6
7 -type hg_rev() :: string().
8
9 -type file() :: string().
10
11 -type agner_spec_property_name() :: {name, string()}.
12 -type agner_spec_property_description() :: {description, string()}.
13 -type agner_spec_property_authors() :: {authors, list(string())}.
14 -type agner_spec_property_homepage() :: {homepage, string()}.
15 -type agner_spec_property_rebar_compatible() :: {rebar_compatible, boolean()}.
16 -type agner_spec_property_license() :: {license, string(), file()} |
17 {license, string()}.
18 -type agner_spec_property_erlang_versions() :: {erlang_versions, list(atom())}.
19 -type agner_spec_property_url() :: {url,
20 {git, url(), git_ref()} |
21 {hg, url(), hg_rev()}}.
22
23
24
25 -type agner_spec_property() :: agner_spec_property_name() |
26 agner_spec_property_description() |
27 agner_spec_property_authors() |
28 agner_spec_property_homepage() |
29 agner_spec_property_rebar_compatible() |
30 agner_spec_property_license() |
31 agner_spec_property_erlang_versions() |
32 agner_spec_property_url().
33
34 -type agner_spec() :: list(agner_spec_property()).
Something went wrong with that request. Please try again.