(path: &Path)
| 549 | |
| 550 | #[cfg(unix)] |
| 551 | fn file_mode(path: &Path) -> Result<u32> { |
| 552 | use std::os::unix::fs::PermissionsExt; |
| 553 | Ok(fs::metadata(path)?.permissions().mode() & 0o7777) |
| 554 | } |
| 555 | |
| 556 | /// Full sandboxes hold every tracked file; partial sandboxes hold exactly |
| 557 | /// the east subtree and nothing else from the west or the root. |
nothing calls this directly
no test coverage detected