You are here

public function backup_file::filesize in Backup and Migrate 7.3

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

File

includes/files.inc, line 320
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

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