mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-03 04:45:44 -05:00
19 lines
382 B
PHP
19 lines
382 B
PHP
<?php
|
|||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Pterodactyl\Contracts\Files;
|
||
|
|
|
||
|
|
use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException;
|
||
|
|
use Pterodactyl\Models\Server;
|
||
|
|
|
||
|
|
interface ListsDirectories
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @return list<DaemonFileObject>
|
||
|
|
*
|
||
|
|
* @throws DaemonConnectionException
|
||
|
|
*/
|
||
|
|
public function list(Server $server, string $directory = '/'): array;
|
||
|
|
}
|