Skip to content

hasAccess

hasAccess($, inode, access): boolean

Defined in: src/internal/inode.ts:502

Internal

Checks if a given user/group has access to this item

$

unknown

Pick<InodeLike, "mode" | "uid" | "gid">

number

The requested access, combination of W_OK, R_OK, and X_OK

boolean