File: repos.t

package info (click to toggle)
gcli 2.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,652 kB
  • sloc: ansic: 27,086; sh: 678; makefile: 545; perl: 392; yacc: 261; lex: 60
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;