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

@ -479,7 +479,7 @@ impl Shell for FilesystemShell {
}: MkdirArgs,
name: Tag,
path: &str,
) -> Result<ActionStream, ShellError> {
) -> Result<OutputStream, ShellError> {
let path = Path::new(path);
let mut stream = VecDeque::new();
@ -504,7 +504,7 @@ impl Shell for FilesystemShell {
}
if show_created_paths {
let val = format!("{:}", create_at.to_string_lossy()).into();
stream.push_back(Ok(ReturnSuccess::Value(val)));
stream.push_back(val);
}
}