This method gets the size of a file.
Parameter | Description |
---|---|
path | file path to check |
packages | if set to true all loaded packages will be checked after the file system |
Returns the size of the file at the specified path if it exists, otherwise zero is returned.