MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_executable

Method is_executable

atomic-core/src/output/traits.rs:146–148  ·  view source on GitHub ↗

Check if this represents an executable file.

(&self)

Source from the content-addressed store, hash-verified

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 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected