Update logic that handles creation of folders for a server

This commit is contained in:
Dane Everitt 2019-05-01 21:45:39 -07:00
parent ec87330a81
commit 95d19bf09e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
13 changed files with 116 additions and 9 deletions

View file

@ -47,4 +47,13 @@ interface FileRepositoryInterface extends BaseRepositoryInterface
* @throws \GuzzleHttp\Exception\TransferException
*/
public function getDirectory(string $path): array;
/**
* Creates a new directory for the server in the given $path.
*
* @param string $name
* @param string $path
* @return \Psr\Http\Message\ResponseInterface
*/
public function createDirectory(string $name, string $path): ResponseInterface;
}