Path dirname and filestem (#2428)

* add dirname and filestem to path commands

* hacked around with gedge's help to get it to compile with cargo b

* fmt
This commit is contained in:
Darren Schroeder
2020-08-26 14:47:23 -05:00
committed by GitHub
parent 781e423a97
commit 766533aafb
6 changed files with 140 additions and 5 deletions

View File

@ -455,11 +455,13 @@ pub fn create_default_context(
#[cfg(feature = "uuid_crate")]
whole_stream_command(RandomUUID),
// Path
whole_stream_command(PathCommand),
whole_stream_command(PathExtension),
whole_stream_command(PathBasename),
whole_stream_command(PathExpand),
whole_stream_command(PathCommand),
whole_stream_command(PathDirname),
whole_stream_command(PathExists),
whole_stream_command(PathExpand),
whole_stream_command(PathExtension),
whole_stream_command(PathFilestem),
whole_stream_command(PathType),
// Url
whole_stream_command(UrlCommand),