apm_workspace_dir (public)

 apm_workspace_dir

Defined in packages/acs-tcl/tcl/apm-file-procs.tcl

Return the path to the apm-workspace, creating the directory if necessary.

Partial Call Graph (max 5 caller/called nodes):
%3 apm_package_deinstall apm_package_deinstall (public) apm_workspace_dir apm_workspace_dir apm_package_deinstall->apm_workspace_dir apm_workspace_install_dir apm_workspace_install_dir (public) apm_workspace_install_dir->apm_workspace_dir ad_file ad_file (public) apm_workspace_dir->ad_file apm_mkdir apm_mkdir (private) apm_workspace_dir->apm_mkdir

Testcases:
No testcase defined.
Source code:
    set path [ad_file join $::acs::rootdir apm-workspace]
    if { [ad_file isdirectory $path] } {
        return $path
    } else {
        return [apm_mkdir $path]
    }
Generic XQL file:
packages/acs-tcl/tcl/apm-file-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-file-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-file-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: