pulumi/pkg/workspace
Justin Van Patten 31d572e4db
Remove unnecessary os.Stat call (#1048)
Just a nit: It's possible (though, unlikely) that the repo file is
deleted between the call to `os.Stat` and `ioutil.ReadFile`. Instead,
just try to read the file -- if the file doesn't exist,
`ioutil.ReadFile` will return an error that works the same with
`os.IsNotExist(err)` as the error returned from `os.Stat`.
2018-03-14 10:00:15 -07:00
..
creds.go Use os/user for home directory 2018-02-20 15:35:07 -08:00
paths.go Adds a pulumi new command to scaffold a project (#1008) 2018-03-09 15:27:55 -08:00
plugins.go Check plugin cache first; make version mismatch a warning 2018-02-26 11:39:50 -08:00
project.go Introduce config.Key 2018-03-08 10:52:25 -08:00
repository.go Remove unnecessary os.Stat call (#1048) 2018-03-14 10:00:15 -07:00
settings.go Deprecate old configuration model 2018-02-28 17:25:09 -08:00
templates.go Support offline template descriptions (#1044) 2018-03-13 16:09:25 -07:00
templates_test.go Adds a pulumi new command to scaffold a project (#1008) 2018-03-09 15:27:55 -08:00
workspace.go Rework configuration model 2018-02-28 17:30:50 -08:00