From 42289a085e6cdfa3b4ca205a271004e59a756327 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 28 May 2016 17:10:34 +0200 Subject: [PATCH] Fix glob() pattern --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 820384e4..d2c8edfd 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -410,7 +410,7 @@ impl Store { path.to_str() .ok_or(SE::new(SEK::EncodingError, None)) .and_then(|path| { - let path = [ path, "/*" ].join(""); + let path = [ path, "/**/*" ].join(""); debug!("glob()ing with '{}'", path); glob(&path[..]).map_err(|e| SE::new(SEK::GlobError, Some(Box::new(e)))) })