statns


Description:

[ Version ( since = "1.27.53" ) ]
public StatNS statns (string path) throws Error

get file information

Returns file information for the given path.

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

Parameters:

this

A GuestfsSession object

Returns:

a StatNS object, or NULL on error