pulumi/pkg/workspace
Justin Van Patten ed9716f6ef
Create backups of all local stack checkpoint files (#949)
Backup copies of local stack checkpoints are now saved to the
user's home directory (`~/.pulumi/backups`) by default.

This enables users to recover after accidentally deleting their
local `.pulumi` directory (e.g. via `git clean`).

The behavior can be disabled by setting the
PULUMI_DISABLE_CHECKPOINT_BACKUPS environment variable, which
we use to disable backups when running all tests other than the
test for this functionality.
2018-02-20 21:05:57 -08:00
..
creds.go Use os/user for home directory 2018-02-20 15:35:07 -08:00
paths.go Create backups of all local stack checkpoint files (#949) 2018-02-20 21:05:57 -08:00
plugins.go Use os/user for home directory 2018-02-20 15:35:07 -08:00
project.go Rename package to project (#935) 2018-02-14 13:56:16 -08:00
repository.go Pretty-print some JSON files we persist to disk 2018-01-18 20:35:53 -08:00
settings.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
workspace.go Create backups of all local stack checkpoint files (#949) 2018-02-20 21:05:57 -08:00