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):
- Testcases:
- No testcase defined.