Copyright © (C) 2012 Erlware, LLC.
Authors: Aman Mangal (mangalaman93@gmail.com).
| app_exists/1 | returns true when the app is already added into the index, false otherwise. |
| check_index/0 | assuming the index correct, verifies the downloaded packages, deletes rest of the folders. |
| checkout_repo_and_add_to_index/2 | downloads the repo in the packages folder and adds details to index. |
| get_applist/0 | returns the list of applications added into the index. |
| get_index_entry/1 | returns the application tuple stored in the index for the given package/application. |
| init/0 | initializes index. |
| remove_from_index/1 | deletes app from the index. |
| search/2 | performs a full text search for given regular expression in the list of installed packages. |
| update_index/0 | pulls any changes in the repository and updates the details of applications in index. |
app_exists(Info) -> Result
returns true when the app is already added into the index, false otherwise. Info can be either the link to the application or the name of the application
check_index() -> ok | {error, Reason}
assuming the index correct, verifies the downloaded packages, deletes rest of the folders. If anything goes wrong, it initializes the index
checkout_repo_and_add_to_index(Link, Options) -> Result
downloads the repo in the packages folder and adds details to index
get_applist() -> Result
returns the list of applications added into the index
get_index_entry(Appname) -> Result
returns the application tuple stored in the index for the given package/application
init() -> ok
initializes index
remove_from_index(Appname) -> Result
deletes app from the index
search(Regex, Option) -> ok | {error, Reason}
performs a full text search for given regular expression in the list of installed packages. Various options can be provided to control the search domain
update_index() -> ok | {error, Reason}
pulls any changes in the repository and updates the details of applications in index
Generated by EDoc