From be64c1576b40663af414e7d69ab90ea7fc59b293 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Fri, 12 Mar 2021 23:07:22 +0000 Subject: [PATCH] stdlib package: git Signed-off-by: Solomon Hykes --- stdlib/git/git.cue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 stdlib/git/git.cue diff --git a/stdlib/git/git.cue b/stdlib/git/git.cue new file mode 100644 index 00000000..4f3b0e98 --- /dev/null +++ b/stdlib/git/git.cue @@ -0,0 +1,19 @@ +package git + +import ( + "dagger.io/dagger" +) + +// A git repository +#Repository: { + + remote: string + ref: string + + #compute: [ + dagger.#FetchGit & { + "remote": remote + "ref": ref + }, + ] +}