Widget
Git status
Branch, file modificati, avanti e indietro, ultimo commit.

| Scheda | Valore |
|---|---|
| Identificatore | git_status |
| Categoria | Sviluppo |
| Da dove arrivano i dati | il cervello sul computer |
| Numero nel catalogo | 24 |
Branch attiva, file modificati, commit avanti e indietro rispetto a origin, ultimo messaggio di commit. Il tap fa git fetch.
Dati dal computer alla scheda
Le chiavi dei campi del protocollo che il widget legge (protocollo).
Dati (host -> device):
key 0 str: branch ("feat/filtri-fatture")
key 1 str: repo ("webion/gestionale")
key 2 int: file modificati (non in stage)
key 3 int: commit avanti rispetto a origin
key 4 int: commit indietro rispetto a origin
key 5 str: messaggio dell'ultimo commit
key 6 str: hash corto dell'ultimo commit ("a1b2c3d")
key 7 str: età dell'ultimo commit ("2 h fa")
key 8 int: file in stage
key 9 int: 1 se la branch non ha un upstreamEventi dalla scheda al computer
Le azioni che il widget manda al cervello quando lo tocchi.
Eventi (device -> host): 1 = git fetch