pub fn verify_regular_file_identity(
path: &Path,
expected: &RegularFileFilesystemIdentity,
) -> Result<(), DirectoryIdentityError>Expand description
Reopen an absolute path without following its final component and require exact file identity.
ยงErrors
Returns a typed capture error, or DirectoryIdentityErrorKind::IdentityMismatch when the
reopened regular file differs from expected.