Skip to content

ensureAgentDir

View as Markdown
function ensureAgentDir(home): Promise<string>;

Defined in: agent/src/config.ts:184

Creates ~/.uncage (0700), tightening an existing, group/world-accessible one. On Windows a newly created folder gets a user-only ACL (icacls); an existing one is left as it is.

Parameter Type
home string

Promise<string>