Changeset
class Changeset extends AbstractObject implements IdAble
A comparison between two directories representing changes that can be applied.
Properties
$lastQuery | from AbstractObject |
Methods
No description
Files and directories that were added in the newer directory.
Applies the diff represented by this changeset to a path on the host.
A unique identifier for this Changeset.
Files and directories that existed before and were updated in the newer directory.
Files and directories that were removed. Directories are indicated by a trailing slash, and their child paths are not included.
Force evaluation in the engine.
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
array
addedPaths()
Files and directories that were added in the newer directory.
at line 28
Directory
after()
The newer/upper snapshot.
at line 37
File
asPatch()
Return a Git-compatible patch of the changes
at line 46
Directory
before()
The older/lower snapshot to compare against.
at line 55
string
export(string $path)
Applies the diff represented by this changeset to a path on the host.
at line 65
AbstractId
id()
A unique identifier for this Changeset.
at line 74
Directory
layer()
Return a snapshot containing only the created and modified files
at line 83
array
modifiedPaths()
Files and directories that existed before and were updated in the newer directory.
at line 92
array
removedPaths()
Files and directories that were removed. Directories are indicated by a trailing slash, and their child paths are not included.
at line 101
ChangesetId
sync()
Force evaluation in the engine.