Re: Get the newest file in a directory



I have glib2-2.30.2-1.fc16.x86_64 :(

Exists other methods to get file modification time?


On 02/02/2012 06:01 PM, Jasper St. Pierre wrote:
You need at least GLib 2.31.0 to have that.

On Thu, Feb 2, 2012 at 11:55 AM, Stefano Ciancio<s ciancio gmail com>  wrote:
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]