Re: [PATCH v3 1/2] abspath: add a function to resolve paths with missing components
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Dec 2, 2020, 23:54 UTC
- Message-ID
- <X8gpMUtAHsQ/NfTl@camp.crustytoothpaste.net>
- In-Reply-To
- <nycvar.QRO.7.76.6.2012021406020.25979@tvgsbejvaqbjf.bet>
On 2020-12-02 at 13:09:49, Johannes Schindelin wrote:
Show 8 quoted lines
> I am having a hard time with the name `missing_components`. Taking a step > back, I think that we are interested in essentially two modes: allow one > missing component, or an arbitrary amount of missing components. > > If this assumption is correct, we may not even need to count components at > all. We only need a flag indicating whether we allow only the last > component to be missing, or any number of components. Maybe something like > `error_on_missing_parent_directory` or some such?
That's certainly easier. I hope to get a reroll out this week, and I'll simplify when I do that.
-- brian m. carlson (he/him or they/them) Houston, Texas, US