apm::read_files (private)
apm::read_files path file_list
Defined in packages/acs-tcl/tcl/apm-procs.tcl
Read the contents from a list of files at a certain path. Return the data to the caller as a big string.
- Parameters:
- path (required)
- file_list (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set data "" foreach file $file_list { if {![catch {set fp [open ${path}/${file} r]} err]} { append data [read $fp] close $fp } } return $dataGeneric XQL file: packages/acs-tcl/tcl/apm-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-procs-oracle.xql