Verification Methods
isExecutable
/**
* @path The file path
*
* @throws cbfs.FileNotFoundException - If the filepath is missing
*/
boolean function isExecutable( required path );
// Example
if ( disk.isExecutable( "myFile.txt" ) ) {
// Execute the file
}isFile
/**
* @path The file path
*
* @throws cbfs.FileNotFoundException
*/
boolean function isFile( required path );
// Example
if ( disk.isFile( "myFile.txt" ) ) {
// Read the file
}isHidden
isReadable
isSymbolicLink
isWritable
Last updated
Was this helpful?