Implement into path conversion (#3811)

This allows converting strings to filepaths without having to use
`path expand` roundtrip.

Filepaths are taken as-is without any validation/conversion.
This commit is contained in:
Peter Cunderlik
2021-07-23 08:14:02 +01:00
committed by GitHub
parent 57073cc6cf
commit 5d7677dd07
3 changed files with 129 additions and 0 deletions

View File

@ -131,6 +131,7 @@ pub fn create_default_context(interactive: bool) -> Result<EvaluationContext, Bo
whole_stream_command(Into),
whole_stream_command(IntoBinary),
whole_stream_command(IntoInt),
whole_stream_command(IntoFilepath),
whole_stream_command(IntoString),
whole_stream_command(SplitBy),
// Row manipulation