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

File.getPerms

File.getPerms($path) -> map

Description

Return a Map of read/write/execute permissions for the given path.

The $path is relative to the data/files directory.

File.getPerms('myFile.txt')

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

See Also