Create metadata for a regular file with default permissions. Default permissions are 0o644 (readable by all, writable by owner).
()
| 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 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected