mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 10:23:52 +01:00
194 Fixed file format
This commit is contained in:
parent
74dddc880d
commit
c209d0d487
@ -8,11 +8,11 @@ use crate::prelude::*;
|
||||
use crate::shell::completer::NuCompleter;
|
||||
use crate::shell::shell::Shell;
|
||||
use crate::utils::FileStructure;
|
||||
use trash as SendToTrash;
|
||||
use rustyline::completion::FilenameCompleter;
|
||||
use rustyline::hint::{Hinter, HistoryHinter};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::atomic::Ordering;
|
||||
use trash as SendToTrash;
|
||||
|
||||
pub struct FilesystemShell {
|
||||
pub(crate) path: String,
|
||||
@ -861,7 +861,11 @@ impl Shell for FilesystemShell {
|
||||
|
||||
fn rm(
|
||||
&self,
|
||||
RemoveArgs { target, recursive, trash }: RemoveArgs,
|
||||
RemoveArgs {
|
||||
target,
|
||||
recursive,
|
||||
trash,
|
||||
}: RemoveArgs,
|
||||
name: Tag,
|
||||
path: &str,
|
||||
) -> Result<OutputStream, ShellError> {
|
||||
|
Loading…
Reference in New Issue
Block a user