1
0
Fork 0
mirror of synced 2024-06-02 02:24:44 +12:00

Import things for new function

This commit is contained in:
Rafał Mikrut 2022-12-21 07:54:14 +01:00
parent 2a38bfe205
commit 93c4bea707

View file

@ -130,6 +130,11 @@ impl GuiBottomButtons {
#[cfg(target_family = "windows")]
fn test_hardlinks() -> bool {
use directories_next::ProjectDirs;
use std::fs;
use std::io::Write;
use std::path::Path;
if let Some(proj_dirs) = ProjectDirs::from("pl", "Qarmin", "Czkawka") {
let cache_dir = proj_dirs.cache_dir();
let cache_file = cache_dir.join(Path::new("GILLES_FROM_NOSE.temp"));