mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-08-28 12:56:57 +02:00
docs: add more doc strings
This commit is contained in:
parent
317547c6b2
commit
107e38278e
15 changed files with 40 additions and 16 deletions
|
|
@ -7,6 +7,7 @@ use std::fs::{File, create_dir_all};
|
|||
const CONFIG_FILE_NAME: &'static str = "tek.toml";
|
||||
const PROJECT_FILE_NAME: &'static str = "project.toml";
|
||||
|
||||
/// Filesystem locations of things.
|
||||
pub struct AppPaths {
|
||||
config_dir: PathBuf,
|
||||
config_file: PathBuf,
|
||||
|
|
@ -49,6 +50,7 @@ impl AppPaths {
|
|||
}
|
||||
}
|
||||
|
||||
/// Appears on first run (i.e. if state dir is missing).
|
||||
pub struct SetupModal(pub Option<Arc<XdgApp>>, pub bool);
|
||||
|
||||
render!(SetupModal |self, buf, area| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue