evobench_tools/utillib/
user.rs

1use anyhow::Result;
2
3use crate::ctx;
4
5// ~once again
6pub fn get_username() -> Result<String> {
7    std::env::var("USER").map_err(ctx!("can't get USER environment variable"))
8}