tag | 7a0cdb4316acaf239f4301caec41f805f4ba8c3b | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Feb 06 16:04:17 2023 -0800 |
object | 88958ffa387832e056b738941b4970b2cc098a4c |
Android Security 12.0.0 Release 44 (9395439)
commit | 88958ffa387832e056b738941b4970b2cc098a4c | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sun Feb 21 00:05:47 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sun Feb 21 00:05:47 2021 +0000 |
tree | 28ded3e268f7970c9b9a5b9e1dfed07c37063f29 | |
parent | 968e190181ce36aba6d430d85345f4addb50c90d [diff] | |
parent | 34b2a1fc483b0375845b8859b8f7a5acf57fbae1 [diff] |
Snap for 7160059 from 34b2a1fc483b0375845b8859b8f7a5acf57fbae1 to sc-release Change-Id: Ib113938060c1751e89c439124938ebca7afa5ce2
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), } }