#Can I create a File from a string?
1 messages · Page 1 of 1 (latest)
👋 you should be able to call WithNewFile on a container like the following: https://github.com/dagger/dagger-go-sdk/blob/f3f6a3a2ca8eb7306a42cbe5cc854cc41cc40e2d/examples_test.go#L195
or are you trying to make something like dag.NewFile?
GitHub
A read-only mirror of the Dagger Go SDK. Do not use directly! To contribute, see https://github.com/dagger/dagger/tree/main/sdk/go - dagger/dagger-go-sdk