stdlib/git: added subdir arg

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-04-13 14:10:51 -07:00
parent 89882dbe81
commit d320916e9f

View File

@ -9,11 +9,17 @@ import (
remote: string
ref: string
subdir: string | *""
#up: [
op.#FetchGit & {
"remote": remote
"ref": ref
},
if subdir != "" {
op.#Subdir & {
dir: subdir
}
},
]
}