дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
12 рядки
327 B
Rust
12 рядки
327 B
Rust
//! The per-project config folder (`<root>/.openidea/`).
|
|
|
|
use std::path::{Path, PathBuf};
|
|
|
|
/// Folder name under the project root.
|
|
pub const DIR: &str = ".openidea";
|
|
|
|
/// Where `rel` (e.g. `settings.toml`) is read from and written to.
|
|
pub fn path(root: &Path, rel: impl AsRef<Path>) -> PathBuf {
|
|
root.join(DIR).join(rel)
|
|
}
|