template::util::write_file (public)
template::util::write_file path text
Defined in packages/acs-templating/tcl/util-procs.tcl
Writes a text file
- Parameters:
- path (required)
- The absolute path to the file
- text (required)
- A string containing the text to write to the file.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- read_write_file
Source code: file mkdir [file dirname $path] set fd [open $path w] template::util::set_file_encoding $fd puts -nonewline $fd $text close $fdXQL Not present: Generic, PostgreSQL, Oracle