IChange¶
-
interface
OCP\Files\Notify\IChange¶ - Represents a detected change in the storage
Implemented by: OC\Files\Notify\ChangeSource: lib/public/Files/Notify/IChange.php#32
Constants¶
-
ADDED = 1 Source: lib/public/Files/Notify/IChange.php#33
-
REMOVED = 2 Source: lib/public/Files/Notify/IChange.php#34
-
MODIFIED = 3 Source: lib/public/Files/Notify/IChange.php#35
-
RENAMED = 4 Source: lib/public/Files/Notify/IChange.php#36
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 storageNote, 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