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
|
||||
ref: string
|
||||
subdir: string | *""
|
||||
|
||||
#up: [
|
||||
op.#FetchGit & {
|
||||
"remote": remote
|
||||
"ref": ref
|
||||
},
|
||||
if subdir != "" {
|
||||
op.#Subdir & {
|
||||
dir: subdir
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user