mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 19:45:29 +00:00
fix: fix windows build
This commit is contained in:
parent
61868dfb56
commit
67ca183a25
@ -5,10 +5,15 @@ mod decompress;
|
|||||||
mod list;
|
mod list;
|
||||||
|
|
||||||
use std::{ops::ControlFlow, path::PathBuf};
|
use std::{ops::ControlFlow, path::PathBuf};
|
||||||
use std::os::unix::prelude::OsStrExt;
|
|
||||||
use rayon::prelude::{IndexedParallelIterator, IntoParallelRefIterator, ParallelIterator};
|
use rayon::prelude::{IndexedParallelIterator, IntoParallelRefIterator, ParallelIterator};
|
||||||
use utils::colors;
|
use utils::colors;
|
||||||
|
|
||||||
|
// OsStrExt for password as_bytes() conversion
|
||||||
|
#[cfg(unix)]
|
||||||
|
use std::os::unix::prelude::OsStrExt;
|
||||||
|
#[cfg(windows)]
|
||||||
|
use std::os::windows::prelude::OsStrExt;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
check,
|
check,
|
||||||
cli::Subcommand,
|
cli::Subcommand,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user