tdav::get_lock_file
tdav::get_lock_file
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # just in case. I hate that 'file join' fails on this regsub {^/} $uri {} uri # log this for failed config section set name [ns_config "ns/server/[ns_info server]/tdav" lockdir] if {$name eq ""} { set name [file join $::acs::pageroot "../lockdir/${uri}"] } else { set name [file join $name $uri] } if {![file exists [file dirname $name]]} { # no parent dir, create it: file mkdir [file dirname $name] # safe for public consumption? } return "${name}.lock"XQL Not present: Generic, PostgreSQL, Oracle