[ Version ( deprecated = true , since = "1.9.2" ) ]
public Stat stat (string path) throws Error
Warning: stat is deprecated.
get file information
In new code, use statns instead
Returns file information for the given path
.
This is the same as the stat(2) system call.
this |
A GuestfsSession object |
a Stat object, or NULL on error |