#Mounting a directory with R/W
1 messages · Page 1 of 1 (latest)
Hi @lament cloak 👋 Mounts wont automatically get synced back to the host, however if you do want to write back to the host in your pipeline you can use Directory.Export https://pkg.go.dev/dagger.io/dagger#Directory.Export
Thanks @trail moat .
I have several issues with .Export method.
- The method seems to "freeze" when the directory tree is complex(around 1000 files)
- It is very slow when running on GithubActions https://github.com/dagger/dagger/issues/5285
Hey @lament cloak , I just put together a repro and commented on that issue