hashicorp / go-getter

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

support URL to local files related to git top-level #470

Open ChaosEternal opened 7 months ago

ChaosEternal commented 7 months ago

when refering to a local file, it will be easier to use a syntax like "//path/to/file" than use "../../../path/to/file", here "//" can resolved as git rev-parse --show-toplevel.