IRenameChange
extends
IChange
in
Represents a detected rename change
Tags
Table of Contents
Constants
Methods
- getPath() : mixed
- Get the path of the file that was changed relative to the root of the storage
- getTargetPath() : string
- Get the new path of the renamed file relative to the storage root
- getType() : int
- Get the type of the change
Constants
ADDED
public
mixed
ADDED
= 1
Tags
MODIFIED
public
mixed
MODIFIED
= 3
Tags
REMOVED
public
mixed
REMOVED
= 2
Tags
RENAMED
public
mixed
RENAMED
= 4
Tags
Methods
getPath()
Get the path of the file that was changed relative to the root of the storage
public
getPath() : mixed
Note, for rename changes this path is the old path for the file
Tags
getTargetPath()
Get the new path of the renamed file relative to the storage root
public
getTargetPath() : string
Tags
Return values
stringgetType()
Get the type of the change
public
getType() : int
Tags
Return values
int —IChange::ADDED, IChange::REMOVED, IChange::MODIFIED or IChange::RENAMED