publish::mkdirs (public)

 publish::mkdirs path

Defined in packages/acs-content-repository/tcl/publish-procs.tcl

Create all the directories necessary to save the specified file

Parameters:
path (required)
The path to the file that is about to be saved

Partial Call Graph (max 5 caller/called nodes):
%3 publish::write_multiple_blobs publish::write_multiple_blobs (private) publish::mkdirs publish::mkdirs publish::write_multiple_blobs->publish::mkdirs publish::write_multiple_files publish::write_multiple_files (private) publish::write_multiple_files->publish::mkdirs

Testcases:
No testcase defined.
Source code:
    set index [string last "/" $path]
    if { $index != -1 } {
        file mkdir [string range $path 0 $index-1]
    }
Generic XQL file:
packages/acs-content-repository/tcl/publish-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/publish-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/publish-procs-oracle.xql

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