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 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
}
},
] ]
} }