Copyright © 2019-2020 Marc Worrell
Behaviours: zotonic_model.
Authors: Marc Worrell (marc@worrell.nl).
vcs() = {git | hg, file:filename_all()}
m_get/3 | Fetch the value for the key from a model source. |
m_post/3 | |
update_vcs/2 | Run the VCS update command for a directory. |
vcs_dir/1 | |
vcs_site/1 | Check if the site directory has a mercurial .hg subdirectory. |
vcs_zotonic/0 | Check if zotonic itself has a .hg directory. |
m_get(Rest::list(), Msg::zotonic_model:opt_msg(), Context::z:context()) -> zotonic_model:return()
Fetch the value for the key from a model source
m_post(X1, Msg, Context) -> any()
update_vcs(X1, Context) -> any()
Run the VCS update command for a directory.
vcs_dir(Dir::file:filename_all()) -> vcs() | false
vcs_site(Site::atom() | binary() | z:context()) -> vcs() | false
Check if the site directory has a mercurial .hg subdirectory
vcs_zotonic() -> vcs() | false
Check if zotonic itself has a .hg directory
Generated by EDoc