self
Do not follow symbolic links.
# Information on the file or link at `self`
#
# Do not follow symbolic links.
fun link_stat: nullable FileStat
do
var stat = path.to_cstring.file_lstat
if stat.address_is_null then
last_error = new IOError("Cannot open `{path}`: {sys.errno.strerror}")
return null
end
last_error = null
return new FileStat(stat)
end
lib/core/file.nit:478,2--490,4