Source code

Revision control

Copy as Markdown

Other Tools

use same_file::is_same_file;
use std::io;
fn try_main() -> Result<(), io::Error> {
assert!(is_same_file("/bin/sh", "/usr/bin/sh")?);
Ok(())
}
fn main() {
try_main().unwrap();
}