CachedMountInfo

class OC\Files\Config\CachedMountInfo
Source:lib/private/Files/Config/CachedMountInfo.php#31
Implements:OCP\Files\Config\ICachedMountInfo

Properties

protected static property OC\Files\Config\CachedMountInfo::$user
Source:lib/private/Files/Config/CachedMountInfo.php#35
Type:\OCP\IUser
protected static property OC\Files\Config\CachedMountInfo::$storageId
Source:lib/private/Files/Config/CachedMountInfo.php#40
Type:int
protected static property OC\Files\Config\CachedMountInfo::$rootId
Source:lib/private/Files/Config/CachedMountInfo.php#45
Type:int
protected static property OC\Files\Config\CachedMountInfo::$mountPoint
Source:lib/private/Files/Config/CachedMountInfo.php#50
Type:string
protected static property OC\Files\Config\CachedMountInfo::$mountId
Source:lib/private/Files/Config/CachedMountInfo.php#55
Type:int | null
protected static property OC\Files\Config\CachedMountInfo::$rootInternalPath
Source:lib/private/Files/Config/CachedMountInfo.php#60
Type:string

Methods

public OC\Files\Config\CachedMountInfo::__construct($user, $storageId, $rootId, $mountPoint, $mountId=null, $rootInternalPath="")
CachedMountInfo constructor.
Source:

lib/private/Files/Config/CachedMountInfo.php#72

Parameters:
  • $user (OCP\IUser)
  • $storageId (int)
  • $rootId (int)
  • $mountPoint (string)
  • $mountId (int | null)
  • $rootInternalPath (string)
public OC\Files\Config\CachedMountInfo::getUser()
Source:lib/private/Files/Config/CachedMountInfo.php#84
Returns:\OCP\IUser
public OC\Files\Config\CachedMountInfo::getStorageId()
Source:lib/private/Files/Config/CachedMountInfo.php#91
Returns:int the numeric storage id of the mount
public OC\Files\Config\CachedMountInfo::getRootId()
Source:lib/private/Files/Config/CachedMountInfo.php#98
Returns:int the fileid of the root of the mount
public OC\Files\Config\CachedMountInfo::getMountPointNode()
Source:lib/private/Files/Config/CachedMountInfo.php#105
Returns:\OCP\Files\Node the root node of the mount
public OC\Files\Config\CachedMountInfo::getMountPoint()
Source:lib/private/Files/Config/CachedMountInfo.php#120
Returns:string the mount point of the mount for the user
public OC\Files\Config\CachedMountInfo::getMountId()
Get the id of the configured mount
Source:lib/private/Files/Config/CachedMountInfo.php#130
Returns:int | null mount id or null if not applicable
Since:9.1.0
public OC\Files\Config\CachedMountInfo::getRootInternalPath()
Get the internal path (within the storage) of the root of the mount
Source:lib/private/Files/Config/CachedMountInfo.php#139
Returns:string