#Directory.export
1 messages · Page 1 of 1 (latest)
Yes Directory.export does indeed export the directory to the client's local filesystem. But, if you're calling it from within a Dagger Function, that function is run inside a container, so you'll export it to the container's filesystem.
In the context of a Dagger Function, if you want a directory to be written to the end user's local filesystem, you should write a function that returns a Directory type. Then the user themselves can export it from the CLI when calling your function