-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
# Please becareful modifying this file as some tests may assume | ||
# this file to look a certain way. | ||
|
||
icons = true | ||
human = true | ||
|
||
# Compute file sizes like `du` | ||
[du] | ||
disk_usage = "block" | ||
metric = "block" | ||
icons = true | ||
layout = "flat" | ||
no-ignore = true | ||
no-git = true | ||
hidden = true | ||
level = 1 | ||
|
||
# Do as `ls -l` | ||
[ls] | ||
icons = true | ||
human = true | ||
level = 1 | ||
suppress-size = true | ||
long = true | ||
no-ignore = true | ||
hidden = true | ||
gitignore = true | ||
no_hidden = true | ||
|
||
# How many lines of Rust are in this code base? | ||
[rs] | ||
disk-usage = "line" | ||
metric = "line" | ||
level = 1 | ||
pattern = "\\.rs$" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const ERDTREE_CONFIG_TOML: &str = ".erdtree.toml"; | ||
Check warning on line 1 in src/user/config/mod.rs GitHub Actions / Check
|
||
const ERDTREE_TOML_PATH: &str = "ERDTREE_TOML_PATH"; | ||
Check warning on line 2 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 2 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 2 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
|
||
const ERDTREE_CONFIG_NAME: &str = ".erdtreerc"; | ||
Check warning on line 4 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 4 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 4 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
const ERDTREE_CONFIG_PATH: &str = "ERDTREE_CONFIG_PATH"; | ||
Check warning on line 5 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 5 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 5 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
|
||
const ERDTREE_DIR: &str = "erdtree"; | ||
Check warning on line 7 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 7 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 7 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
|
||
#[cfg(unix)] | ||
const CONFIG_DIR: &str = ".config"; | ||
Check warning on line 10 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 10 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 10 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
|
||
#[cfg(unix)] | ||
const HOME: &str = "HOME"; | ||
Check warning on line 13 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 13 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 13 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
|
||
#[cfg(unix)] | ||
const XDG_CONFIG_HOME: &str = "XDG_CONFIG_HOME"; | ||
Check warning on line 16 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 16 in src/user/config/mod.rs GitHub Actions / Check
Check warning on line 16 in src/user/config/mod.rs GitHub Actions / Test Suite
|
||
|
||
/// Concerned with loading `.erdtree.toml`. | ||
pub mod toml; | ||
|
||
/// Concerned with parsing the result of [`toml::load`] into args. | ||
pub mod parse; | ||
|
||
#[cfg(test)] | ||
mod test; |