GLib.Scanner.prototype.sync_file_offset

function sync_file_offset(): void {
    // Gjs wrapper for g_scanner_sync_file_offset()
}
  

Rewinds the filedescriptor to the current buffer position and blows the file read ahead buffer. This is useful for third party uses of the scanners filedescriptor, which hooks onto the current scanning position.