Operations.access

Determine if the user has access to the given path.

class Operations
bool
access
(
const(char)[] path
,
int mode
)

Parameters

path
Type: const(char)[]

The path to check.

mode
Type: int

An flag indicating what to check for. See access(2) for supported modes.

Return Value

Type: bool

True on success otherwise false.

Meta