#Is there a way to get a host directory

1 messages · Page 1 of 1 (latest)

frozen copper
#

There's no low-level operation for that, but it shouldn't be a problem to orchestrate that yourself by executing git in a container with the host directory mounted

#

then mounting the output directory into your next step

burnt stratus
#

I more want to filter out files from the mounting that would be ignored with git, I have some nested testing directories in various places that tend to have a number of artifacts, also some node_modules in several places... (monorepo)

#

though it seems like maybe Dagger is only loading the diff in the FS since the last time I ran it?