apm_file_watchable_p (public)
apm_file_watchable_p path
Defined in packages/acs-tcl/tcl/apm-file-procs.tcl
Given the path of a file determine if it is appropriate to be watched for reload. The file should be db compatible with the system and be of right type (for example contain Tcl procs or xql queries).
- Parameters:
- path (required)
- The path of the file relative to server root
- Returns:
- 1 If file is watchable and 0 otherwise. The proc will throw an error if the file doesn't exist or if the given path cannot be parsed as a path relative to server root.
- Author:
- Peter Marklund
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.