pulumi/sdk/go/common/workspace
Luke Hoban b45b3ed543
Re-apply #5857 (#5893)
This re-applies the fix in 5857 to make credentials.json writes concurrency safe.

The original fix used `path.Dir` instead of `filepath.Dir` - which led to not placing the temp file in the same folder (and drive) as the renamed file target.  This led to errors on Windows environments where the working directory was on a different drive than the `~/.pulumi` directory.  The change to use `filepath.Dir` instead ensures that even on Windows, the true directory containing the credentials file is used for the temp file as well.

Fixes #3877.
2020-12-08 17:38:59 -08:00
..
creds.go Re-apply #5857 (#5893) 2020-12-08 17:38:59 -08:00
creds_test.go Re-apply #5857 (#5893) 2020-12-08 17:38:59 -08:00
paths.go switch os/user with luser 2020-07-27 14:44:08 -07:00
plugins.go Implement GetRequiredPlugins for Python (#5787) 2020-12-03 19:22:16 -08:00
plugins_install_nodejs_test.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
plugins_install_python_test.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
plugins_install_test.go Fix plugin install failures on Windows (#5759) 2020-11-16 09:44:29 -08:00
plugins_test.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
project.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
project_test.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go Handle blank project names in 'new' (#5504) 2020-10-05 13:40:24 -07:00
templates_test.go Handle blank project names in 'new' (#5504) 2020-10-05 13:40:24 -07:00
workspace.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00