astrXbian/www/multitube/vendor/ipfs/php-client/src/Api/File.php

40 lines
852 B
PHP

<?php
declare(strict_types=1);
/*
* This file is part of the "php-ipfs" package.
*
* (c) Robert Schönthal <robert.schoenthal@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace IPFS\Api;
use IPFS\Annotation\Api as Endpoint;
use IPFS\Command\Command;
/**
* @author Robert Schönthal <robert.schoenthal@gmail.com>
* @autogenerated
* @codeCoverageIgnore
*/
final class File implements Api
{
/**
* List directory contents for Unix filesystem objects.
*
* @Endpoint(name="file:ls")
*
* @param string $arg the path to the IPFS object(s) to list links from
*
* @return Command
*/
public function ls(string $arg): Command
{
return new Command(__METHOD__, get_defined_vars());
}
}