-
Cargo uses this bind API to find the root repo when users call For example:
See more at rust-lang/cargo#10981. Also, you can check out rust-lang/cargo#10987 to see if you pass an existing path for it. It will work. Please correct me if I have misunderstood the meaning of this API. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is definitely by design. The goal of this api is to discover the root of the repo for your current working directory. (So that, eg, Not necessarily opposed to adding an option here that the trailing paths may be imaginary. We could convert |
Beta Was this translation helpful? Give feedback.
This is definitely by design. The goal of this api is to discover the root of the repo for your current working directory. (So that, eg,
git add .
works several levels down.)Not necessarily opposed to adding an option here that the trailing paths may be imaginary. We could convert
across_fs
to flags with little impact on compatibility.