@@ -149,6 +149,9 @@ |
||
149 | 149 | return $this->file_format_size(disk_free_space($this->xcloner_settings->get_xcloner_store_path())); |
150 | 150 | } |
151 | 151 | |
152 | + /** |
|
153 | + * @param double $bytes |
|
154 | + */ |
|
152 | 155 | public function file_format_size($bytes, $decimals = 2) { |
153 | 156 | $unit_list = array('B', 'KB', 'MB', 'GB', 'PB'); |
154 | 157 |