pa_assert_dir (private)

 pa_assert_dir [ -check_base_path ] dir_path

Defined in packages/photo-album/tcl/photo-album-procs.tcl

Ensures that dirname exists under the PhotoDir Directory If -check_base_path flag specified, proc also checks if base path exists and adds it if necessary Won't cause an error if the directory is already there. Better than the stardard mkdir because it will make all the directories leading up to dirname borrowed from 3.4 download code

Switches:
-check_base_path (optional, boolean)
Parameters:
dir_path (required)

Partial Call Graph (max 5 caller/called nodes):
%3 acs_root_dir acs_root_dir (public) parameter::get parameter::get (public) pa_assert_dir pa_assert_dir pa_assert_dir->acs_root_dir pa_assert_dir->parameter::get

Testcases:
No testcase defined.
[ show source ]
Show another procedure: