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

Method permission_denied

atomic-core/src/record/error.rs:327–329  ·  view source on GitHub ↗

Create a new permission-denied error. # Arguments `path` - The path that couldn't be accessed

(path: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

325 ///
326 /// * `path` - The path that couldn't be accessed
327 pub fn permission_denied(path: impl Into<PathBuf>) -> Self {
328 Self::PermissionDenied { path: path.into() }
329 }
330
331 /// Create a new missing-dependency error.
332 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected