Basically, the only place we need NativeFilePath is when dealing
directly with input from the user (command line, defaults,
environment, configuration files). But command and option arguments
that denote file paths are (or should be) converted to AbsolutePath
before doing anything else with them; and this should include
conversion to Posix style. What this means is that, in principle, we
should not need NativeFilePath at all, except perhaps where we do
the native -> posix conversion.
I say "should" because I haven't done any systematic review, but
overall this is the rule and most commands follow that. If you
happen to stumble over code that directly uses an argument or
environment String as a FilePath then please file a bug report (or
fix it)!
|