journal_skip


Description:

[ Version ( since = "1.23.11" ) ]
public int64 journal_skip (int64 skip) throws Error

skip forwards or backwards in the journal

Skip forwards ("skip ≥ 0") or backwards ("skip < 0") in the journal.

The number of entries actually skipped is returned (note "rskip ≥ 0"). If this is not the same as the absolute value of the skip parameter ("|skip|") you passed in then it means you have reached the end or the start of the journal.

This function depends on the feature "journal". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error