/** * @path The file path * * @throws cbfs.FileNotFoundException - If the filepath is missing */boolean functionisHidden( required path );// Exampleif ( !disk.isHidden( "myFile.txt" ) ) {// Read the file}
isReadable
Returns true if the file is readable.
/** * @path The file path * * @throws cbfs.FileNotFoundException - If the filepath is missing */boolean functionisReadable( required path );// Exampleif ( disk.isReadable( "myFile.txt" ) ) {// Read the file}
isSymbolicLink
Returns true if the file is a symbolic link.
/** * Is the file is a symbolic link * * @path The file path * * @throws cbfs.FileNotFoundException - If the filepath is missing */boolean functionisSymbolicLink( required path );// Exampleif ( !disk.isSymbolicLink( "myFile.txt" ) ) {// Read the file}
isWritable
Returns true if the file is writable.
/** * @path The file path * * @throws cbfs.FileNotFoundException - If the filepath is missing */boolean functionisReadable( required path );// Exampleif ( disk.isWritable( "myFile.txt" ) ) {// Write to the file}