LocalTempFileTrait

trait OC\Files\Storage\LocalTempFileTrait
Storage backend class for providing common filesystem operation methods
which are not storage-backend specific.
\OC\Files\Storage\Common is never used directly; it is extended by all other
storage backends, where its methods may be overridden, and additional
(backend-specific) methods are defined.

Some \OC\Files\Storage\Common methods call functions which are first defined
in classes which extend it, e.g. $this->stat() .
Source:lib/private/Files/Storage/LocalTempFileTrait.php#38

Properties

protected static property OC\Files\Storage\LocalTempFileTrait::$cachedFiles
Source:lib/private/Files/Storage/LocalTempFileTrait.php#41
Type:string[]

Methods

protected OC\Files\Storage\LocalTempFileTrait::getCachedFile($path)
Source:

lib/private/Files/Storage/LocalTempFileTrait.php#47

Parameters:
  • $path (string)
Returns:

string

protected OC\Files\Storage\LocalTempFileTrait::removeCachedFile($path)
Source:

lib/private/Files/Storage/LocalTempFileTrait.php#57

Parameters:
  • $path (string)
protected OC\Files\Storage\LocalTempFileTrait::toTmpFile($path)
Source:

lib/private/Files/Storage/LocalTempFileTrait.php#65

Parameters:
  • $path (string)
Returns:

string