Format untracked content in red (same as deleted for visibility). Use this for files that are not yet tracked by the repository. # Arguments `text` - The text to format # Returns A styled object that displays in red when printed. # Example ```rust,ignore println!("{} {}", colors::untracked("?"), colors::untracked("new_file.txt")); ```
(text: D)
| 337 | /// println!("{} {}", colors::untracked("?"), colors::untracked("new_file.txt")); |
| 338 | /// ``` |
| 339 | pub fn untracked<D: std::fmt::Display>(text: D) -> StyledObject<D> { |
| 340 | style(text).red() |
| 341 | } |
| 342 | |
| 343 | // Reference Colors |
| 344 |
no outgoing calls