31d572e4db
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`. |
||
---|---|---|
.. | ||
creds.go | ||
paths.go | ||
plugins.go | ||
project.go | ||
repository.go | ||
settings.go | ||
templates.go | ||
templates_test.go | ||
workspace.go |