pub fn same_file(file: &File, path: &Path) -> Result<bool>Expand description
Whether path still names the file file is open on. false when the path is gone, names a
recreated file, or names a removed file kept visible by an open handle (Windows and SMB keep
such names until the last handle closes).
§Errors
When the file’s identity cannot be read.