Methods |
public
|
enabled(): bool
git present for path
|
#
|
public
|
remove(): bool
Remove git backing
|
#
|
public
|
cleanDatabase(): void
Clean database staging
|
#
|
public
|
createRepository(): bool
Create git storage
|
#
|
public
|
snapshot(string $comment): bool
Process webapp snapshot
|
#
|
public
|
lastSnapshot(): string|null
Get last snapshot commit
|
#
|
public
|
commits(): array
|
#
|
public
|
head(): string
Get head commit
|
#
|
public
|
discard(string $whence, string $to = null): bool
Discard commits promoting $whence to head
Discard commits promoting $whence to head
|
#
|
public
|
restore(string|null $commit, bool $prune = true): bool
Restore from a snapshot
Parameters
$prune |
prune history after rollback
|
|
#
|