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

Method file

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

Create metadata for a regular file with default permissions. Default permissions are 0o644 (readable by all, writable by owner).

()

Source from the content-addressed store, hash-verified

98 ///
99 /// Default permissions are 0o644 (readable by all, writable by owner).
100 pub fn file() -> Self {
101 Self {
102 permissions: 0o644,
103 is_dir: false,
104 is_symlink: false,
105 }
106 }
107
108 /// Create metadata for an executable file.
109 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected