Version: v0.8.1 - Beta.  We welcome contributors & feedback.

File.getPerms

$path.getPerms() -> map

Description

Return a Map of permissions with the following keys, each with a boolean value:

The permissions are based on the user account the webserver is running as.

file'files:/myFile.txt'.getPerms()

// {
//     read: true
//     write: true
//     execute: false
// }

See Also