File: checks.t

package info (click to toggle)
gcli 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: ansic: 25,411; sh: 580; makefile: 509; yacc: 261; lex: 59
file content (15 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include "gcli/github/checks.h";

parser github_check is
object of struct gcli_github_check with
	("name"         => name as string,
	 "status"       => status as string,
	 "conclusion"   => conclusion as string,
	 "started_at"   => started_at as string,
	 "completed_at" => completed_at as string,
	 "id"           => id as id);

parser github_checks is
object of struct github_check_list with
	("check_runs" => checks as array of gcli_github_check
	                 use parse_github_check);