Fixed S3 missing method

This commit is contained in:
Eldad Fux
2020-06-25 23:52:25 +03:00
parent d6908cc72f
commit e1bdf6cd04
+16
View File
@@ -154,6 +154,22 @@ class S3 extends Device
return '';
}
/**
* Get directory size in bytes.
*
* Return -1 on error
*
* Based on http://www.jonasjohn.de/snippets/php/dir-size.htm
*
* @param $path
*
* @return int
*/
public function getDirectorySize(string $path):int
{
return 0;
}
/**
* Get Partition Free Space.
*