lstatns


Description:

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

get file information for a symbolic link

Returns file information for the given path.

This is the same as statns 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 StatNS object, or NULL on error