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

@ -207,7 +207,10 @@ pub(crate) use next::Next;
pub(crate) use nth::Nth;
pub(crate) use open::Open;
pub(crate) use parse::Parse;
pub(crate) use path::{PathBasename, PathCommand, PathExists, PathExpand, PathExtension, PathType};
pub(crate) use path::{
PathBasename, PathCommand, PathDirname, PathExists, PathExpand, PathExtension, PathFilestem,
PathType,
};
pub(crate) use pivot::Pivot;
pub(crate) use prepend::Prepend;
pub(crate) use prev::Previous;