ad_make_relative_path (public)

 ad_make_relative_path path

Defined in packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl

Returns the relative path corresponding to absolute path $path.


Partial Call Graph (max 5 caller/called nodes):
%3 ad_library ad_library (public) ad_make_relative_path ad_make_relative_path ad_library->ad_make_relative_path apm_get_watchable_files apm_get_watchable_files (private) apm_get_watchable_files->ad_make_relative_path apm_source apm_source (public) apm_source->ad_make_relative_path db_qd_get_fullname db_qd_get_fullname (public) db_qd_get_fullname->ad_make_relative_path db_qd_internal_load_queries db_qd_internal_load_queries (private) db_qd_internal_load_queries->ad_make_relative_path

No testcase defined.
Source code:
    set root_length [string length $::acs::rootdir]
    if { $::acs::rootdir eq [string range $path 0 $root_length-1] } {
        return [string range $path $root_length+1 [string length $path]]
    error "$path is not under the path root ($::acs::rootdir)"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: