gitbutler/packages/tauri/tests/paths/mod.rs
extrawurst eb569b389c * cleanup combined bin/lib in gitbutler
* gitbutler as a lib is `gblib` now and used accordingly by `butler`
* use `cargo-cranky` for shared lints across workspace until cargo supports Cargo.toml lints section in 1.75
2023-10-18 16:39:14 +02:00

8 lines
121 B
Rust

use gblib::paths::DataDir;
use crate::common::temp_dir;
pub fn data_dir() -> DataDir {
DataDir::from(temp_dir())
}