IMountManager¶
-
interface
OCP\Files\Mount\
IMountManager
¶ - Interface IMountManagerManages all mounted storages in the system
Implemented by: OC\Files\Mount\Manager
Source: lib/public/Files/Mount/IMountManager.php#36
Methods¶
-
public
OCP\Files\Mount\IMountManager::
addMount
($mount)¶ - Add a new mount
Source: Parameters: - $mount (
OCP\Files\Mount\IMountPoint
)
Since: 8.2.0
- $mount (
-
public
OCP\Files\Mount\IMountManager::
removeMount
($mountPoint)¶ - Remove a mount
Source: Parameters: - $mountPoint (string)
Since: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
moveMount
($mountPoint, $target)¶ - Change the location of a mount
Source: Parameters: - $mountPoint (string)
- $target (string)
Since: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
find
($path)¶ - Find the mount for $path
Source: Parameters: - $path (string)
Returns: \OCP\Files\Mount\IMountPoint
| nullSince: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
findIn
($path)¶ - Find all mounts in $path
Source: Parameters: - $path (string)
Returns: Since: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
clear
()¶ - Remove all registered mounts
Source: lib/public/Files/Mount/IMountManager.php#86 Since: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
findByStorageId
($id)¶ - Find mounts by storage id
Source: Parameters: - $id (string)
Returns: Since: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
getAll
()¶ Source: lib/public/Files/Mount/IMountManager.php#101 Returns: \OCP\Files\Mount\IMountPoint[]
Since: 8.2.0
-
public
OCP\Files\Mount\IMountManager::
findByNumericId
($id)¶ - Find mounts by numeric storage id
Source: Parameters: - $id (int)
Returns: Since: 8.2.0