File: repos.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 (16 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include "gcli/github/repos.h";
include "gcli/gitea/repos.h";

parser github_repo is
object of struct gcli_repo with
	("id"         => id as id,
	 "full_name"  => full_name as string,
	 "name"       => name as string,
	 "owner"      => owner as user,
	 "created_at" => date as iso8601_time,
	 "visibility" => visibility as string,
	 "private"    => visibility as gitea_visibility,
	 "fork"       => is_fork as bool);

parser github_repos is array of struct gcli_repo
	use parse_github_repo;