Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ osUserName
Function
osUserName
src/ui-server/api/trails.ts:484–491 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
482
}
483
484
function
osUserName(): string | null {
485
try {
486
const
name = os.userInfo().username.trim();
487
return
name ===
''
? null : name.slice(0, 120);
488
} catch {
489
return
null;
490
}
491
}
Callers
1
trailAuthor
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected