Skip to main content

local_author

Function local_author 

Source
pub fn local_author(served: &Path) -> String
Expand description

The local author: git config user.name as git sees it from the served folder — its global setting counts, so no .git folder is needed — or the system’s user name when git has none.