hasteBinPreChecks

fun hasteBinPreChecks(fileToCheck: File): Boolean

Checks the filesize of the given file whether it is smaller or bigger than 10 MB.

Return

Boolean. True if the file is smaller, false if the file is bigger than 10 MB.

Author

Griefed

Parameters

fileToCheck

The file or directory to check.