55e6f64977
This originated in the cliconfig code to write out credentials files. The Windows implementation of this in particular was quite onerous to get right because it needs a very specific sequence of operations to avoid running into exclusive file locks, and so by factoring this out with only cosmetic modification we can avoid repeating all of that engineering effort for other atomic file writing use-cases. |
||
---|---|---|
.. | ||
testdata | ||
cliconfig.go | ||
cliconfig_test.go | ||
config_unix.go | ||
config_windows.go | ||
credentials.go | ||
credentials_test.go | ||
provider_installation.go | ||
provider_installation_test.go |