apm_get_package_files (public)
apm_get_package_files [ -include_data_model_files ] [ -all ] \ [ -all_db_types ] -package_key package_key \ [ -package_path package_path ] [ -file_types file_types ]
Defined in packages/acs-bootstrap-installer/tcl/30-apm-load-procs.tcl
Returns all files, or files of a certain types, belonging to an APM package. Ignores files based on proc apm_include_file_p and determines file type of files with proc apm_guess_file_type. Only returns file with no db type or a db type matching that of the system, unless '-all' is specified.
Goes directly to the filesystem to find files instead of using a file listing in the package info file or the database.
- Switches:
- -include_data_model_files
(boolean) (optional)- -all
(boolean) (optional)- When specified, return all files in the package, regardless of their file or database type.
- -all_db_types
(boolean) (optional)- -package_key
(required)- The key of the package to return file paths for
- -package_path
(optional)- The full path of the root directory of the package. Defaults to acs_package_root_dir.
- -file_types
(optional)- The type of files to return. If not provided files of all types recognized by the APM are returned.
- Returns:
- The paths, relative to the root dir of the package, of matching files.
- Author:
- Peter Marklund
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- get_package_files, apm_tarballs, files__tcl_file_syntax_errors, files__check_upgrade_ordering, files__check_xql_files, files__trailing_whitespace, files__page_contracts