mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-24 08:11:04 +00:00
6 lines
174 B
Rust
6 lines
174 B
Rust
use tokio::sync::Semaphore;
|
|
use yazi_shared::RoCell;
|
|
|
|
pub static HIDER: RoCell<Semaphore> = RoCell::new();
|
|
|
|
pub(super) fn init_semaphore() { HIDER.init(Semaphore::new(1)); }
|