tag | 557756d70b12baac9104c4dce7c8a4236ed6e239 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Apr 29 10:40:01 2024 -0700 |
object | 8e191ae09a88018f06d3ef8749149b14491b94b5 |
aml_tz5_341510070 (11568892,com.google.android.go.tzdata5,com.google.android.tzdata5)
commit | 8e191ae09a88018f06d3ef8749149b14491b94b5 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed May 10 16:17:32 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed May 10 16:17:32 2023 +0000 |
tree | 1b1ba7f0a897cdeda990520838f863cbaf2a3276 | |
parent | edbe375fba3cf6fcca2c2eec9ea884b588c619da [diff] | |
parent | d0a666aa5b1cdb5d9d06a4592782bfd6eb887b29 [diff] |
Snap for 10103804 from d0a666aa5b1cdb5d9d06a4592782bfd6eb887b29 to mainline-tzdata5-release Change-Id: Ib0604946ce1ac0d61b2acbf896c626a81daacf3b
Support for matching file paths against Unix shell style patterns.
To use glob
, add this to your Cargo.toml
:
[dependencies] glob = "0.3.1"
And add this to your crate root:
extern crate glob;
Print all jpg files in /media/ and all of its subdirectories.
use glob::glob; for entry in glob("/media/**/*.jpg").expect("Failed to read glob pattern") { match entry { Ok(path) => println!("{:?}", path.display()), Err(e) => println!("{:?}", e), } }