Added path to HostError; scan_dir won't fail if it is not possible to stat an entry

This commit is contained in:
veeso
2021-04-03 16:21:37 +02:00
parent 66068ec73c
commit af678802bb
4 changed files with 147 additions and 95 deletions

21
Cargo.lock generated
View File

@@ -1411,6 +1411,7 @@ dependencies = [
"ssh2",
"tempfile",
"textwrap",
"thiserror",
"toml",
"tui",
"ureq",
@@ -1429,6 +1430,26 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "thiserror"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "thread_local"
version = "1.1.1"