whyrusleeping / gx

A package management tool
MIT License
1.88k stars 110 forks source link

Fix existing package directory #163

Closed djdv closed 6 years ago

djdv commented 6 years ago

go-os-rename is now redundant, the Go standard Rename() uses the same method now and is standard across platforms. In addition, it never worked to replace directories, only files. If one exists already it will cause an "Access is denied" error on Windows.

djdv commented 6 years ago

cross reference: https://github.com/whyrusleeping/gx/pull/162#issuecomment-372483613