lstat
Description:
Warning: lstat is deprecated.
get file information for a symbolic link
Note:
In new code, use lstatns instead
Returns file information for the given path.
This is the same as stat except that if path is a
symbolic link, then the link is stat-ed, not the file it refers to.
This is the same as the lstat(2) system call.
Parameters:
| this |
A GuestfsSession object |
Returns:
|
a Stat object, or NULL on error |