You are here

function backup_file::filesize in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/files.inc \backup_file::filesize()
  2. 7.3 includes/files.inc \backup_file::filesize()

File

includes/files.inc, line 314
General file handling code for Backup and Migrate.

Class

backup_file
A backup file which allows for saving to and reading from the server.

Code

function filesize() {
  if (empty($this->file_info['filesize'])) {
    $this
      ->calculate_filesize();
  }
  return $this->file_info['filesize'];
}