GLib.BookmarkFile.prototype.get_modified

function get_modified(uri: String): Number(glong) {
    // Gjs wrapper for g_bookmark_file_get_modified()
}
  

Gets the time when the bookmark for uri was last modified.

In the event the URI cannot be found, -1 is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

Since 2.12

uri

a valid URI

Returns

a timestamp