MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / apply_private_create_mode

Function apply_private_create_mode

src/storage.rs:734–738  ·  view source on GitHub ↗
(options: &mut fs::OpenOptions)

Source from the content-addressed store, hash-verified

732
733#[cfg(unix)]
734fn apply_private_create_mode(options: &mut fs::OpenOptions) {
735 use std::os::unix::fs::OpenOptionsExt;
736
737 options.mode(0o600);
738}
739
740#[cfg(not(unix))]
741fn apply_private_create_mode(_options: &mut fs::OpenOptions) {}

Callers 1

open_privateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected