mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-17 00:00:31 +03:00
move unix import into cfg gated use
This commit is contained in:
parent
96db3507aa
commit
6d51b5e252
@ -1,8 +1,8 @@
|
||||
//! A [Tokio](https://tokio.rs)-based [`super::GitExecutor`] implementation.
|
||||
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::fs::MetadataExt;
|
||||
use std::{collections::HashMap, fs::Permissions, os::unix::fs::PermissionsExt, time::Duration};
|
||||
use std::os::unix::fs::{MetadataExt, PermissionsExt};
|
||||
use std::{collections::HashMap, fs::Permissions, time::Duration};
|
||||
use tokio::process::Command;
|
||||
|
||||
/// A [`super::GitExecutor`] implementation using the `git` command-line tool
|
||||
|
Loading…
Reference in New Issue
Block a user