mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-29 00:59:58 -07:00
15 lines
285 B
Rust
15 lines
285 B
Rust
use std::path::{Path, PathBuf};
|
|
|
|
pub fn dot_brk_path() -> PathBuf {
|
|
let home = std::env::var("HOME").unwrap();
|
|
Path::new(&home).join(".brk")
|
|
}
|
|
|
|
pub fn dot_brk_log_path() -> PathBuf {
|
|
dot_brk_path().join("log")
|
|
}
|
|
|
|
pub fn default_brk_path() -> PathBuf {
|
|
dot_brk_path()
|
|
}
|