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

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

parser gitlab_repos is
array of struct gcli_repo use parse_gitlab_repo;