mirror of
https://github.com/uutils/uucore.git
synced 2026-06-10 15:48:52 -07:00
Merge pull request #1281 from rivy/alt/win-cli-globbing
Add command line globbing to all utilities (for windows targets)
This commit is contained in:
@@ -10,6 +10,7 @@ failure_derive = { version = "0.1.1", optional = true }
|
||||
time = { version = "0.1.40", optional = true }
|
||||
data-encoding = { version = "^2.1", optional = true }
|
||||
libc = { version = "0.2.42", optional = true }
|
||||
wild = "2.0.1"
|
||||
|
||||
[target.'cfg(target_os = "redox")'.dependencies]
|
||||
termion = "1.5"
|
||||
|
||||
@@ -25,6 +25,7 @@ use std::io::Result as IOResult;
|
||||
use std::path::{Component, Path, PathBuf};
|
||||
use std::borrow::Cow;
|
||||
|
||||
#[cfg(unix)]
|
||||
macro_rules! has {
|
||||
($mode:expr, $perm:expr) => (
|
||||
$mode & ($perm as u32) != 0
|
||||
|
||||
Reference in New Issue
Block a user