Create metadata with custom permissions.
(mut self, permissions: u16)
| 138 | |
| 139 | /// Create metadata with custom permissions. |
| 140 | pub fn with_permissions(mut self, permissions: u16) -> Self { |
| 141 | self.permissions = permissions; |
| 142 | self |
| 143 | } |
| 144 | |
| 145 | /// Check if this represents an executable file. |
| 146 | pub fn is_executable(&self) -> bool { |
no outgoing calls