1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/15342] Add method to get free space

PHPBB3-15342
This commit is contained in:
Rubén Calvo
2018-06-12 09:41:52 +02:00
parent bb0d705ebf
commit 4cff370f8d
3 changed files with 41 additions and 0 deletions

View File

@@ -95,4 +95,13 @@ interface adapter_interface
*
*/
public function get_link($path);
/*
* Get space available in bytes.
*
* @throws \phpbb\storage\exception\exception When can't get available space
*
* @return int Returns available space
*/
public function free_space();
}