Function Commandr_fs->get_file_size
Definitions
sources/commandr_fs.php
- Calculate the size of a file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$to_read | array | required parameter | N/A | N/A | The file to read |
$force_calculate | boolean | False | N/A | N/A | Whether to forcefully calculate a size where we would otherwise return -1 for dynamic |
Return
- The file size (false: failure)
- Type: ~integer
- Set: N/A
- Range: N/A