This commit is contained in:
@ -15,7 +15,7 @@ use Psr\Log\NullLogger;
|
||||
*
|
||||
* @author Jens True <jens.chr.true@gmail.com>
|
||||
* @license https://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @link https://jcktrue.dk
|
||||
* @link https://jcktrue.dks
|
||||
*/
|
||||
class App
|
||||
{
|
||||
|
@ -71,6 +71,8 @@ class Rclone
|
||||
/**
|
||||
* Calculate the size of a mount/path
|
||||
*
|
||||
* @param string $path mount/path.
|
||||
*
|
||||
* @return int Size in bytes
|
||||
*/
|
||||
function getSize(string $path): int
|
||||
@ -82,10 +84,11 @@ class Rclone
|
||||
/**
|
||||
* Copy from src to dest
|
||||
*
|
||||
* @param $src Source mount and path
|
||||
* @param $dest Destination mount and path
|
||||
* @param $bandwidth Bandwidth limit provided as string
|
||||
* @return string Stdout from command
|
||||
* @param $src Source mount and path
|
||||
* @param $dest Destination mount and path
|
||||
* @param $bandwidth Bandwidth limit provided as string
|
||||
*
|
||||
* @return string Stdout from command
|
||||
*/
|
||||
function copy(string $src, string $dest, string $bandwidth = null): string
|
||||
{
|
||||
|
Reference in New Issue
Block a user