hashicorp / go-getter

Package for downloading things from a string URL using a variety of protocols.
Mozilla Public License 2.0
1.66k stars 239 forks source link

Clean up git repo on disk when the ref checkout fails #504

Closed james-warren0 closed 2 weeks ago

james-warren0 commented 1 month ago

If the ref checkout during a call to clone() fails, this ensures the cloned repo on disk will get cleaned up.