Module epax_repo
main epax repo module, takes care of interaction with
external repository.
Copyright © (C) 2012 Erlware, LLC.
Authors: Aman Mangal (mangalaman93@gmail.com).
main epax repo module, takes care of interaction with
external repository
| clone_app/2 | downloads the repository, returns index entry. |
| update_repo/1 | updates the repository, returns the new index entry. |
clone_app(Link, Options) -> Result
- Link = string()
- Options = [term()]
- Result = {ok, IndexEntry} | {error, Reason}
- IndexEntry = {application, Appname, Link, RepoType, [{Key, Value}]}
- Link = string()
- RepoType = atom()
- Key = atom()
- Value = term()
- Appname = atom()
- Reason = term()
downloads the repository, returns index entry
update_repo(App) -> Result
- App = {application, Appname, Link, RepoType, [{Key, Value}]}
- Result = {ok, IndexEntry} | {error, Reason}
- IndexEntry = {application, Appname, Link, RepoType, [{Key, Value}]}
- Link = string()
- RepoType = atom()
- Key = atom()
- Value = term()
- Appname = atom()
- Reason = term()
updates the repository, returns the new index entry
Generated by EDoc