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

Method with_permissions

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

Create metadata with custom permissions.

(mut self, permissions: u16)

Source from the content-addressed store, hash-verified

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 {

Calls

no outgoing calls