Manager

class OC\Files\Mount\Manager
Source:lib/private/Files/Mount/Manager.php#37
Implements:OCP\Files\Mount\IMountManager

Properties

Methods

public OC\Files\Mount\Manager::__construct()
Source:lib/private/Files/Mount/Manager.php#47
public OC\Files\Mount\Manager::addMount($mount)
Source:

lib/private/Files/Mount/Manager.php#55

Parameters:
public OC\Files\Mount\Manager::removeMount($mountPoint)
Source:

lib/private/Files/Mount/Manager.php#64

Parameters:
  • $mountPoint (string)
public OC\Files\Mount\Manager::moveMount($mountPoint, $target)
Source:

lib/private/Files/Mount/Manager.php#78

Parameters:
  • $mountPoint (string)
  • $target (string)
public OC\Files\Mount\Manager::find($path)
Find the mount for $path
Source:

lib/private/Files/Mount/Manager.php#91

Parameters:
  • $path (string)
Returns:

\OC\Files\Mount\MountPoint | null

public OC\Files\Mount\Manager::findIn($path)
Find all mounts in $path
Source:

lib/private/Files/Mount/Manager.php#124

Parameters:
  • $path (string)
Returns:

\OC\Files\Mount\MountPoint[]

public OC\Files\Mount\Manager::clear()
Source:lib/private/Files/Mount/Manager.php#145
public OC\Files\Mount\Manager::findByStorageId($id)
Find mounts by storage id
Source:

lib/private/Files/Mount/Manager.php#157

Parameters:
  • $id (string)
Returns:

\OC\Files\Mount\MountPoint[]

public OC\Files\Mount\Manager::getAll()
Source:lib/private/Files/Mount/Manager.php#174
Returns:\OC\Files\Mount\MountPoint[]
public OC\Files\Mount\Manager::findByNumericId($id)
Find mounts by numeric storage id
Source:

lib/private/Files/Mount/Manager.php#184

Parameters:
  • $id (int)
Returns:

\OC\Files\Mount\MountPoint[]