hivex_commit


Description:

[ Version ( since = "1.19.35" ) ]
public bool hivex_commit (string? filename) throws Error

commit (write) changes back to the hive

Commit (write) changes to the hive.

If the optional filename parameter is null, then the changes are written back to the same hive that was opened. If this is not null then they are written to the alternate filename given and the original hive is left untouched.

This is a wrapper around the hivex(3) call of the same name.

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error