tdav::get_lock_file

 tdav::get_lock_file

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 fs::impl::fs_object::put fs::impl::fs_object::put (private) tdav::get_lock_file tdav::get_lock_file fs::impl::fs_object::put->tdav::get_lock_file oacs_dav::impl::content_revision::put oacs_dav::impl::content_revision::put (private) oacs_dav::impl::content_revision::put->tdav::get_lock_file

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
[ hide source ] | [ make this the default ]
Show another procedure: