get_e2generation


Description:

[ Version ( since = "1.17.31" ) ]
public int64 get_e2generation (string file) throws Error

get ext2 file generation of a file

This returns the ext2 file generation of a file. The generation (which used to be called the "version") is a number associated with an inode. This is most commonly used by NFS servers.

The generation is only present when the file is located on an ext2/3/4 filesystem. Using this call on other filesystem types will result in an error.

See set_e2generation.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error




2022 vala-language.org