[Bug 1229] New: Directory mapper
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1229 Summary: Directory mapper Product: Swift Version: 0.96 Platform: PC OS/Version: Mac OS Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] Suppose there is a directory called data. It contains: data/data.txt data/a/a.dat data/b/b.dat data/c/x/foo.txt As far as I know the only way to get all of this data into an array is to write an ext mapper. I think it would be nice to do something like: file inputs[] <directory_mapper; path="/home/davidk/data", pattern="*">; -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1229 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Mihael Hategan <[email protected]> 2014-05-29 15:06:14 --- The filesystem mapper had a bug in the recursive glob routine which is now fixed. You should use: file inputs[] <FilesysMapper; location="/home/davidk/data", pattern="**/*">; -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov