mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 00:31:04 +00:00
9 lines
180 B
Rust
9 lines
180 B
Rust
use std::sync::OnceLock;
|
|
|
|
use crate::{Preset, VFS};
|
|
|
|
pub fn init_tests() {
|
|
static INIT: OnceLock<()> = OnceLock::new();
|
|
|
|
INIT.get_or_init(|| VFS.init(Preset::vfs().unwrap()));
|
|
}
|