StorageGlobal¶
-
class
OC\Files\Cache\
StorageGlobal
¶ - Handle the mapping between the string and numeric storage idsEach storage has 2 different idsa string id which is generated by the storage backend and reflects the configuration of the storage (e.g. ‘smb://user@host/share‘)and a numeric storage id which is referenced in the file cacheA mapping between the two storage ids is stored in the database and accessible trough this class
Source: lib/private/Files/Cache/StorageGlobal.php#41
Properties¶
Methods¶
-
public
OC\Files\Cache\StorageGlobal::
__construct
($connection)¶ Source: lib/private/Files/Cache/StorageGlobal.php#48
-
public
OC\Files\Cache\StorageGlobal::
loadForStorageIds
($storageIds)¶ Source: Parameters: - $storageIds (string[])
-
public
OC\Files\Cache\StorageGlobal::
getStorageInfo
($storageId)¶ Source: Parameters: - $storageId (string)
Returns: array | null
-
public
OC\Files\Cache\StorageGlobal::
clearCache
()¶ Source: lib/private/Files/Cache/StorageGlobal.php#90