ITempManager

interface OCP\ITempManager
Interface ITempManager
Implemented by:OC\TempManager
Source:lib/public/ITempManager.php#32

Methods

public OCP\ITempManager::getTemporaryFile($postFix="")
Create a temporary file and return the path
Source:

lib/public/ITempManager.php#40

Parameters:
  • $postFix (string)
Returns:

string

Since:

8.0.0

public OCP\ITempManager::getTemporaryFolder($postFix="")
Create a temporary folder and return the path
Source:

lib/public/ITempManager.php#49

Parameters:
  • $postFix (string)
Returns:

string

Since:

8.0.0

public OCP\ITempManager::clean()
Remove the temporary files and folders generated during this request
Source:lib/public/ITempManager.php#55
Since:8.0.0
public OCP\ITempManager::cleanOld()
Remove old temporary files and folders that were failed to be cleaned
Source:lib/public/ITempManager.php#61
Since:8.0.0
public OCP\ITempManager::getTempBaseDir()
Get the temporary base directory
Source:lib/public/ITempManager.php#69
Returns:string
Since:8.2.0