Create metadata for a directory. Permissions are 0o755 (readable and executable by all, writable by owner).
()
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected