ad_mktmpdir (public)

 ad_mktmpdir [ prefix ]

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Wrapper for Tcl's "file tempdir ...", but respects the server's tmpdir settings.

Parameters:
prefix (defaults to "oacs") - optional parameter, for easier identification of the directory
Returns:
name of the created directory

Partial Call Graph (max 5 caller/called nodes):
%3 test_apm_bootstrap_upgrade apm_bootstrap_upgrade (test acs-bootstrap-installer) ad_mktmpdir ad_mktmpdir test_apm_bootstrap_upgrade->ad_mktmpdir test_zip_and_unzip zip_and_unzip (test acs-tcl) test_zip_and_unzip->ad_mktmpdir apm_load_apm_file apm_load_apm_file (public) apm_load_apm_file->ad_mktmpdir fs::publish_object_to_file_system fs::publish_object_to_file_system (public) fs::publish_object_to_file_system->ad_mktmpdir fs::publish_url_to_file_system fs::publish_url_to_file_system (public) fs::publish_url_to_file_system->ad_mktmpdir fs::publish_versioned_object_to_file_system fs::publish_versioned_object_to_file_system (public) fs::publish_versioned_object_to_file_system->ad_mktmpdir packages/file-storage/www/download-zip.tcl packages/file-storage/ www/download-zip.tcl packages/file-storage/www/download-zip.tcl->ad_mktmpdir

Testcases:
apm_bootstrap_upgrade, zip_and_unzip
Source code:
        package require fileutil
        ::fileutil::maketempdir -prefix ${prefix}_ -dir [ns_config ns/parameters tmpdir]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

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