This is an automated email from the git hooks/post-receive script. hmmr-guest pushed a commit to branch master in repository aghermann.
commit 25a9a6e9f1fc019e01a39e4e7c870bf5ca6b6bc7 Author: Andrei Zavada <[email protected]> Date: Sun Sep 15 02:20:08 2013 +0300 ED: cover all TExpDirLevel values in make_dirname --- upstream/src/aghermann/expdesign/expdesign.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/upstream/src/aghermann/expdesign/expdesign.cc b/upstream/src/aghermann/expdesign/expdesign.cc index 0ef1d7f..7295f05 100644 --- a/upstream/src/aghermann/expdesign/expdesign.cc +++ b/upstream/src/aghermann/expdesign/expdesign.cc @@ -205,6 +205,9 @@ CExpDesign:: make_dirname( TExpDirLevel level, const SExpDirLevelId& level_id) const { switch (level) { + case TExpDirLevel::transient: + return "/tmp"; + case TExpDirLevel::session: { TJGroups::const_iterator Gi; @@ -231,6 +234,12 @@ make_dirname( TExpDirLevel level, const SExpDirLevelId& level_id) const case TExpDirLevel::experiment: return make_dirname(); + case TExpDirLevel::user: + return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME"))); + + case TExpDirLevel::system: + return PACKAGE_DATADIR "/patterns"; + default: throw invalid_argument ("level not appropriate"); } -- Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
