[ Version ( deprecated = true , since = "1.9.2" ) ]
public Stat lstat (string path) throws Error
Warning: lstat is deprecated.
get file information for a symbolic link
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.
this |
A GuestfsSession object |
a Stat object, or NULL on error |