tag | 4f5c4b96311688e58f4b40cf12652ca3627edfe3 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Jan 04 16:56:07 2024 -0800 |
object | bbf08a9620685a77e2a6f0f87cbbbd04eddeb697 |
frc_340819010 (10586669,com.google.android.adbd,com.google.android.adservices,com.google.android.appsearch,com.google.android.captiveportallogin,com.google.android.configinfrastructure,com.google.android.conscrypt,com.google.android.documentsui,com.google.android.ext.services,com.google.android.extservices,com.google.android.go.adbd,com.google.android.go.adservices,com.google.android.go.appsearch,com.google.android.go.captiveportallogin,com.google.android.go.configinfrastructure,com.google.android.go.conscrypt,com.google.android.go.documentsui,com.google.android.go.extservices,com.google.android.go.ipsec,com.google.android.go.mediaprovider,com.google.android.go.networkstack,com.google.android.go.neuralnetworks,com.google.android.go.ondevicepersonalization,com.google.android.go.os.statsd,com.google.android.go.resolv,com.google.android.go.rkpd,com.google.android.go.scheduling,com.google.android.go.sdkext,com.google.android.go.tethering,com.google.android.go.tzdata5,com.google.android.go.uwb,com.google.android.go.wifi,com.google.android.ipsec,com.google.android.networkstack,com.google.android.neuralnetworks,com.google.android.ondevicepersonalization,com.google.android.os.statsd,com.google.android.resolv,com.google.android.rkpd,com.google.android.scheduling,com.google.android.sdkext,com.google.android.tethering,com.google.android.tzdata5,com.google.android.uwb,com.google.android.wifi)
commit | bbf08a9620685a77e2a6f0f87cbbbd04eddeb697 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 18:01:51 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 18:01:51 2023 +0000 |
tree | 2f42db18a9fd6374177aca7e69fa0070346dd285 | |
parent | 3619ec382ccff1cb9a30cdc77a26e37be025b8fb [diff] | |
parent | 1d8cb074a5d1d44e8d475bb04256df6ba0b61bcf [diff] |
Snap for 9912757 from 1d8cb074a5d1d44e8d475bb04256df6ba0b61bcf to aml-frc-release Change-Id: I442ca4473b8188d81005f14f8c2ac136a8d0fb9f
A safe and cross platform crate to determine whether two files or directories are the same.
Dual-licensed under MIT or the UNLICENSE.
Add this to your Cargo.toml
:
[dependencies] same-file = "1"
The simplest use of this crate is to use the is_same_file
function, which takes two file paths and returns true if and only if they refer to the same file:
use same_file::is_same_file; fn main() { assert!(is_same_file("/bin/sh", "/usr/bin/sh").unwrap()); }
This crate's minimum supported rustc
version is 1.34.0
.
The current policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if crate 1.0
requires Rust 1.20.0, then crate 1.0.z
for all values of z
will also require Rust 1.20.0 or newer. However, crate 1.y
for y > 0
may require a newer minimum version of Rust.
In general, this crate will be conservative with respect to the minimum supported version of Rust.