refactor: Standardized paths module function names to not use 'path' in the name and to just always be either 'dir' or 'file'
CI / All (ubuntu-latest) (push) Failing after 25s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-21 10:15:42 -06:00
parent 79d43c8791
commit 6f2594712f
12 changed files with 63 additions and 66 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use tokio::time::sleep;
pub async fn tail_logs(no_color: bool) {
let re = Regex::new(r"^(?P<timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3})\s+<(?P<opid>[^\s>]+)>\s+\[(?P<level>[A-Z]+)\]\s+(?P<logger>[^:]+):(?P<line>\d+)\s+-\s+(?P<message>.*)$").unwrap();
let file_path = paths::log_path();
let file_path = paths::log_file();
let file = File::open(&file_path).expect("Cannot open file");
let mut reader = BufReader::new(file);