20 lines
197 B
CUE
20 lines
197 B
CUE
|
package git
|
||
|
|
||
|
import (
|
||
|
"dagger.io/dagger"
|
||
|
)
|
||
|
|
||
|
// A git repository
|
||
|
#Repository: {
|
||
|
|
||
|
remote: string
|
||
|
ref: string
|
||
|
|
||
|
#compute: [
|
||
|
dagger.#FetchGit & {
|
||
|
"remote": remote
|
||
|
"ref": ref
|
||
|
},
|
||
|
]
|
||
|
}
|