You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @pckvcode thanks for the request! This is an enhancement we'd be happy to see.
In the meantime os.TempDir respects the usual environment variables for choosing the temp directory, e.g. TMPDIR on mac and Linux, so this might help your use case.
What would you like to be added:
Providing an option to mention tempDirectory instead of relying on tmp directory provided by os.TempDir when GetImage
stereoscope/client.go
Line 69 in e6d086e
Why is this needed:
We had a requirement where a customer wants to mention tempDirectory to be used by stereoscope while getting a docker image.
Additional context:
I examined the Stereoscope code to see if we could set a custom tempDir, but currently, that option isn’t available.
Here we are using global variable
rootTempDirGenerator
and not exposed to change.stereoscope/client.go
Line 19 in e6d086e
Can we provide an option to update rootLocation in TempDirGenerator
stereoscope/pkg/file/temp_dir_generator.go
Line 12 in e6d086e
The text was updated successfully, but these errors were encountered: