stdlib package: git
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
parent
41c973ba04
commit
be64c1576b
19
stdlib/git/git.cue
Normal file
19
stdlib/git/git.cue
Normal file
@ -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
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user