MoveFromCacheTrait¶
-
trait
OC\Files\Cache\MoveFromCacheTrait¶ - Fallback implementation for moveFromCache
Source: lib/private/Files/Cache/MoveFromCacheTrait.php#32
Methods¶
-
public abstract
OC\Files\Cache\MoveFromCacheTrait::put($file, $data)¶ - store meta data for a file or folder
Source: Parameters: - $file (string)
- $data (array)
Returns: int file id
Throws: \RuntimeException
-
public abstract
OC\Files\Cache\MoveFromCacheTrait::copyFromCache($sourceCache, $sourceEntry, $targetPath)¶ Source: lib/private/Files/Cache/MoveFromCacheTrait.php#44
-
public
OC\Files\Cache\MoveFromCacheTrait::moveFromCache($sourceCache, $sourcePath, $targetPath)¶ - Move a file or folder in the cache
Source: Parameters: - $sourceCache (
OCP\Files\Cache\ICache) - $sourcePath (string)
- $targetPath (string)
- $sourceCache (