File: repos.t

package info (click to toggle)
gcli 2.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,596 kB
  • sloc: ansic: 26,273; sh: 601; makefile: 538; perl: 374; yacc: 261; lex: 59
file content (16 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (2)
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;