tag | 17a9100b5aa2bd7f4c82592f18ca7a5eea8f1475 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Oct 13 21:13:36 2022 -0700 |
object | 808d36193f21706ccad4ea0e189b11e96b8538e7 |
Android 13.0.0 release 9
commit | 808d36193f21706ccad4ea0e189b11e96b8538e7 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 17 01:04:50 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 17 01:04:50 2022 +0000 |
tree | 04e1f5beb84a6589374bc4dc670374327c99f50a | |
parent | c235515ca0d2fe69fd5cd43d697a2606de52f5c7 [diff] | |
parent | 82e2c5d25e1da87438f71fe80d2ff3c6ca0dfa7e [diff] |
Snap for 8310722 from 82e2c5d25e1da87438f71fe80d2ff3c6ca0dfa7e to tm-d1-release Change-Id: Iab0bc6ed964727d2b74b08d92b06de8f4c2e0045
Support for matching file paths against Unix shell style patterns.
To use glob
, add this to your Cargo.toml
:
[dependencies] glob = "0.3.0"
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), } }