This commit is contained in:
@ -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