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.
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
AbstractId
id()
A unique identifier for this Changeset.
at line 64
Directory
layer()
Return a snapshot containing only the created and modified files
at line 73
array
modifiedPaths()
Files and directories that existed before and were updated in the newer directory.
at line 82
array
removedPaths()
Files and directories that were removed. Directories are indicated by a trailing slash, and their child paths are not included.
at line 91
ChangesetId
sync()
Force evaluation in the engine.