mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
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;
|
|
}
|