MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / current_user

Function current_user

e2e/python/test_sandbox_policy.py:364–368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 sandbox: Callable[..., Sandbox],
363) -> None:
364 def current_user() -> str:
365 import os
366 import pwd
367
368 return pwd.getpwuid(os.getuid()).pw_name
369
370 def write_allowed_files() -> str:
371 from pathlib import Path

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected