pub fn scope_profile(root: impl Into<PathBuf>) -> ProfileScopeExpand description
From now until the guard drops, this thread’s home is root: home,
the per-user base folders, env_dir of the XDG variables and
AppPaths::for_app all resolve below it, whatever the process
environment says, and no workspace is mounted. A host that runs a
member (an agent) on its own thread gives it a profile apart from
the host user’s this way. Threads the scoped thread starts do not
inherit it.