mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:55:07 +02:00
Find with regex flag (#4649)
* split find functions * find command with regex * corrected message * cargo fmt
This commit is contained in:
@ -171,6 +171,7 @@ impl Clone for Value {
|
||||
}
|
||||
|
||||
impl Value {
|
||||
/// Converts into string values that can be changed into string natively
|
||||
pub fn as_string(&self) -> Result<String, ShellError> {
|
||||
match self {
|
||||
Value::Int { val, .. } => Ok(val.to_string()),
|
||||
|
Reference in New Issue
Block a user