mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 23:07:47 +02:00
Rename jobs::Tag to jobs::FilterTag
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::{sync::mpsc::RecvTimeoutError, time::Duration};
|
||||
|
||||
use nu_engine::command_prelude::*;
|
||||
use nu_protocol::engine::Tag;
|
||||
use nu_protocol::engine::FilterTag;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct JobRecv;
|
||||
@@ -68,7 +68,7 @@ in no particular order, regardless of the specified timeout parameter.
|
||||
}
|
||||
}
|
||||
|
||||
let tag = tag_arg.map(|it| it.item as Tag);
|
||||
let tag = tag_arg.map(|it| it.item as FilterTag);
|
||||
|
||||
let duration: Option<i64> = call.get_flag(engine_state, stack, "timeout")?;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
use nu_engine::command_prelude::*;
|
||||
use nu_protocol::{engine::Tag, JobId};
|
||||
use nu_protocol::{engine::FilterTag, JobId};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct JobSend;
|
||||
@@ -67,7 +67,7 @@ This command never blocks.
|
||||
}
|
||||
}
|
||||
|
||||
let tag = tag_arg.map(|it| it.item as Tag);
|
||||
let tag = tag_arg.map(|it| it.item as FilterTag);
|
||||
|
||||
let value = input.into_value(head)?;
|
||||
|
||||
|
Reference in New Issue
Block a user