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

Method directory

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

Create metadata for a directory. Permissions are 0o755 (readable and executable by all, writable by owner).

()

Source from the content-addressed store, hash-verified

120 ///
121 /// Permissions are 0o755 (readable and executable by all, writable by owner).
122 pub fn directory() -> Self {
123 Self {
124 permissions: 0o755,
125 is_dir: true,
126 is_symlink: false,
127 }
128 }
129
130 /// Create metadata for a symbolic link.
131 pub fn symlink() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected