ISimpleRoot

interface OCP\Files\SimpleFS\ISimpleRoot
Interface ISimpleRoot
Source:lib/public/Files/SimpleFS/ISimpleRoot.php#35

Methods

public OCP\Files\SimpleFS\ISimpleRoot::getFolder($name)
Get the folder with name $name
Source:

lib/public/Files/SimpleFS/ISimpleRoot.php#45

Parameters:
  • $name (string)
Returns:

\OCP\Files\SimpleFS\ISimpleFolder

Throws:

\OCP\Files\NotFoundException

Throws:

\RuntimeException

Throws:

\OCP\Files\NotFoundException

Throws:

\RuntimeException

Since:

11.0.0

public OCP\Files\SimpleFS\ISimpleRoot::getDirectoryListing()
Get all the Folders
Source:lib/public/Files/SimpleFS/ISimpleRoot.php#55
Returns:\OCP\Files\SimpleFS\ISimpleFolder[]
Throws:\OCP\Files\NotFoundException
Throws:\RuntimeException
Throws:\OCP\Files\NotFoundException
Throws:\RuntimeException
Since:11.0.0
public OCP\Files\SimpleFS\ISimpleRoot::newFolder($name)
Create a new folder named $name
Source:

lib/public/Files/SimpleFS/ISimpleRoot.php#66

Parameters:
  • $name (string)
Returns:

\OCP\Files\SimpleFS\ISimpleFolder

Throws:

\OCP\Files\NotPermittedException

Throws:

\RuntimeException

Throws:

\OCP\Files\NotPermittedException

Throws:

\RuntimeException

Since:

11.0.0