Erik Grinaker
5d63765990
os: simplify EnsureDir() (#5871)
#5852 fixed an issue with error propagation in `os.EnsureDir()`. However, this function is basically identical to `os.MkdirAll()`, and can be replaced entirely with a call to it. We keep the function for backwards compatibility. |
4 years ago | |
---|---|---|
.. | ||
os.go | os: simplify EnsureDir() (#5871) | 4 years ago |
os_test.go | libs/os: EnsureDir now returns IO errors and checks file type (#5852) | 4 years ago |