stdlib/git: added subdir arg
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
89882dbe81
commit
d320916e9f
@ -9,11 +9,17 @@ import (
|
|||||||
|
|
||||||
remote: string
|
remote: string
|
||||||
ref: string
|
ref: string
|
||||||
|
subdir: string | *""
|
||||||
|
|
||||||
#up: [
|
#up: [
|
||||||
op.#FetchGit & {
|
op.#FetchGit & {
|
||||||
"remote": remote
|
"remote": remote
|
||||||
"ref": ref
|
"ref": ref
|
||||||
},
|
},
|
||||||
|
if subdir != "" {
|
||||||
|
op.#Subdir & {
|
||||||
|
dir: subdir
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user