Create metadata for a symbolic link.
()
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected