mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
dbc9f6b42f
commit
a6f445644c
3 changed files with 11 additions and 11 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -431,9 +431,9 @@ checksum = "f4ad8f11f288f48ca24471bbd51ac257aaeaaa07adae295591266b792902ae64"
|
|||
|
||||
[[package]]
|
||||
name = "bumpalo"
|
||||
version = "3.19.0"
|
||||
version = "3.19.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
|
||||
checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
|
||||
|
||||
[[package]]
|
||||
name = "by_address"
|
||||
|
|
@ -2002,9 +2002,9 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
|
|||
|
||||
[[package]]
|
||||
name = "libredox"
|
||||
version = "0.1.10"
|
||||
version = "0.1.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb"
|
||||
checksum = "df15f6eac291ed1cf25865b1ee60399f57e7c227e7f51bdbd4c5270396a9ed50"
|
||||
dependencies = [
|
||||
"bitflags 2.10.0",
|
||||
"libc",
|
||||
|
|
@ -4105,9 +4105,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uzers"
|
||||
version = "0.12.1"
|
||||
version = "0.12.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4df81ff504e7d82ad53e95ed1ad5b72103c11253f39238bcc0235b90768a97dd"
|
||||
checksum = "0b8275fb1afee25b4111d2dc8b5c505dbbc4afd0b990cb96deb2d88bff8be18d"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"log",
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ tracing = { version = "0.1.43", features = [ "max_level_debug", "rel
|
|||
twox-hash = { version = "2.1.2", default-features = false, features = [ "std", "random", "xxhash3_128" ] }
|
||||
typed-path = "0.12.0"
|
||||
unicode-width = { version = "0.2.0", default-features = false }
|
||||
uzers = "0.12.1"
|
||||
uzers = "0.12.2"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
format_push_string = "warn"
|
||||
|
|
|
|||
|
|
@ -79,18 +79,18 @@ pub trait PathLike: AsPath {
|
|||
self.as_path().try_starts_with(base)
|
||||
}
|
||||
|
||||
fn try_strip_prefix<T>(&self, suffix: T) -> Result<PathDyn<'_>, StripPrefixError>
|
||||
fn try_strip_prefix<T>(&self, base: T) -> Result<PathDyn<'_>, StripPrefixError>
|
||||
where
|
||||
T: AsStrand,
|
||||
{
|
||||
self.as_path().try_strip_prefix(suffix)
|
||||
self.as_path().try_strip_prefix(base)
|
||||
}
|
||||
|
||||
fn try_strip_suffix<T>(&self, base: T) -> Result<PathDyn<'_>, StripSuffixError>
|
||||
fn try_strip_suffix<T>(&self, suffix: T) -> Result<PathDyn<'_>, StripSuffixError>
|
||||
where
|
||||
T: AsStrand,
|
||||
{
|
||||
self.as_path().try_strip_suffix(base)
|
||||
self.as_path().try_strip_suffix(suffix)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue