IChange

interface OCP\Files\Notify\IChange
Represents a detected change in the storage
Implemented by:OC\Files\Notify\Change
Source:lib/public/Files/Notify/IChange.php#32

Methods

public OCP\Files\Notify\IChange::getType()
Get the type of the change
Source:lib/public/Files/Notify/IChange.php#45
Returns:int IChange::ADDED, IChange::REMOVED, IChange::MODIFIED or IChange::RENAMED
Since:12.0.0
public OCP\Files\Notify\IChange::getPath()
Get the path of the file that was changed relative to the root of the storage
Note, for rename changes this path is the old path for the file
Source:lib/public/Files/Notify/IChange.php#56
Returns:mixed
Since:12.0.0