Метод |
Описание |
|
__construct ( string $type = 'complete', Excludes $excludes = null ) |
Constructor |
|
directory_filesize ( SplFileInfo $file ) |
|
|
filesize ( SplFileInfo $file ) : integer |
Get the total filesize for a given file or directory. Aware of exclusions. |
|
get_cached_filesizes ( $max_age = WEEK_IN_SECONDS ) |
|
|
get_formatted_site_size ( ) : string |
Get the site size formatted |
|
get_site_size ( ) : string |
Calculate the size total size of the database + files. |
|
is_site_size_being_calculated ( ) : boolean |
Whether the total filesize is being calculated |
|
is_site_size_cached ( ) : boolean |
Whether the total filesize is cached |
|
rebuild_directory_filesizes ( ) |
|
|
recursive_filesize_scanner ( ) : array |
Recursively scans a directory to calculate the total filesize |
|