GLib.BookmarkFile.prototype.set_added

function set_added(uri: String, added: Number(glong)): void {
    // Gjs wrapper for g_bookmark_file_set_added()
}
  

Sets the time the bookmark for uri was added into bookmark.

If no bookmark for uri is found then it is created.

Since 2.12

uri

a valid URI

added

a timestamp or -1 to use the current time