Re: Get the newest file in a directory



Sorry, I have responded in wrong thread.


It show the following error:

    Too few arguments to method Gio.get_modification_time expected 1 got 0


On 02/02/2012 05:43 PM, Jasper St. Pierre wrote:
g_file_info_get_modification_time is marked as (out caller-allocates).
So you would use:

     let infoTimeVal = info.get_modification_time();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]