Begin porting mkdir (#3607)

* Begin porting mkdir

* Addressed comments
This commit is contained in:
Sam Bordo
2021-06-14 14:57:21 -04:00
committed by GitHub
parent 6f0dd8e885
commit d60d71a697
5 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ impl WholeStreamCommand for Mkdir {
"Make directories, creates intermediary directories as required."
}
fn run_with_actions(&self, args: CommandArgs) -> Result<ActionStream, ShellError> {
fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
mkdir(args)
}
@ -35,7 +35,7 @@ impl WholeStreamCommand for Mkdir {
}
}
fn mkdir(args: CommandArgs) -> Result<ActionStream, ShellError> {
fn mkdir(args: CommandArgs) -> Result<OutputStream, ShellError> {
let name = args.call_info.name_tag.clone();
let shell_manager = args.shell_manager();