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

Method symlink

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

Create metadata for a symbolic link.

()

Source from the content-addressed store, hash-verified

129
130 /// Create metadata for a symbolic link.
131 pub fn symlink() -> Self {
132 Self {
133 permissions: 0o777, // Symlinks typically have no meaningful permissions
134 is_dir: false,
135 is_symlink: true,
136 }
137 }
138
139 /// Create metadata with custom permissions.
140 pub fn with_permissions(mut self, permissions: u16) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected