mirror of
https://github.com/nushell/nushell
synced 2024-12-28 05:53:09 +00:00
194 Fixed file format
This commit is contained in:
parent
74dddc880d
commit
c209d0d487
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue