• Publicity: Public Only All

10-utilities-procs.tcl

Utility routines needed by the bootstrapping process.

Location:
packages/acs-bootstrap-installer/tcl/10-utilities-procs.tcl
Created:
4 Apr 2001
Author:
Don Baccus (dhogaza@pacifier.com
CVS Identification:
$Id: 10-utilities-procs.tcl,v 1.14 2024/09/11 06:15:47 gustafn Exp $

Procedures in this file

Detailed information

ad_find_all_files (public)

 ad_find_all_files [ -include_dirs include_dirs ] \
    [ -include_bak_dirs include_bak_dirs ] [ -max_depth max_depth ] \
    [ -check_file_func check_file_func ] path

Returns a list of full paths to all files under $path in the directory tree (descending the tree to a depth of up to $max_depth). Clients should not depend on the order of files returned. Per default, the contents of .bak directories (as produced e.g. via "install from repository" are not included. To include these, add the flag "-include_bak_dirs 1" to the invocation.

Switches:
-include_dirs (optional, defaults to "0")
-include_bak_dirs (optional, defaults to "0")
-max_depth (optional, defaults to "10")
-check_file_func (optional)
Parameters:
path (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_files__tcl_file_common_errors files__tcl_file_common_errors (test acs-tcl) ad_find_all_files ad_find_all_files test_files__tcl_file_common_errors->ad_find_all_files test_get_package_files get_package_files (test acs-bootstrap-installer) test_get_package_files->ad_find_all_files apm_get_package_files apm_get_package_files (public) apm_get_package_files->ad_find_all_files apm_get_watchable_files apm_get_watchable_files (private) apm_get_watchable_files->ad_find_all_files apm_load_queries apm_load_queries (private) apm_load_queries->ad_find_all_files packages/acs-admin/www/apm/version-i18n.tcl packages/acs-admin/ www/apm/version-i18n.tcl packages/acs-admin/www/apm/version-i18n.tcl->ad_find_all_files packages/file-storage/www/folder-add.tcl packages/file-storage/ www/folder-add.tcl packages/file-storage/www/folder-add.tcl->ad_find_all_files

Testcases:
get_package_files, files__tcl_file_common_errors
[ show source ]