Check if this represents an executable file.
(&self)
| 144 | |
| 145 | /// Check if this represents an executable file. |
| 146 | pub fn is_executable(&self) -> bool { |
| 147 | !self.is_dir && !self.is_symlink && (self.permissions & 0o111) != 0 |
| 148 | } |
| 149 | |
| 150 | /// Encode metadata to bytes for storage. |
| 151 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected