stat


Description:

[ Version ( deprecated = true , since = "1.9.2" ) ]
public Stat stat (string path) throws Error

Warning: stat is deprecated.

get file information

Note:

In new code, use statns instead

Returns file information for the given path.

This is the same as the stat(2) system call.

Parameters:

this

A GuestfsSession object

Returns:

a Stat object, or NULL on error