On Tue, Dec 07, 2010 at 21:59:42 +0200, Jani Monoses wrote: > is there an easy way of getting a list of files matching a pattern > in a directory (like Python's glob.glob() ) short of > enumerate_children() and checking each returned name explicitly > using regexps?
POSIX has a function glob to do exactly that. Unfortunately I don't see it bound in posix.vapi, so you would have to provide appropriate extern declaration yourself. -- Jan 'Bulb' Hudec <b...@ucw.cz> _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list