Installation guide

System Administration
Adding Custom Tests
13-32
Boolean getFileIsDirectory(string file, debug=0)
Returns the following:
1 if true
0 if no false
Boolean getFileIsFile(string file, debug=0)
Returns the following:
1 if true
0 if no false
Boolean getFileIsHidden(string file, debug=0)
Returns the following:
1 if true
0 if no false
Long getFileSize(string file, debug=0)
Returns the Logical file size in bytes.
The BasicTests API accesses these functions with the SABase self.bt member. All methods throw an
exception that should be caught if an unexpected error occurs.
Return Value Public Method
Table 13-2.BasicTests API (cont.)