file

file.file.lattrs

Declaration
lua
file.lattrs(path)
Description
Get file attributes using lstat (does NOT follow symlinks). Can detect symlinks (type='link').
Parameters
NameTypeRequiredDefaultDescription
pathstringRequired—
Return Values
TypeDescription
tableSame as attrs but type can be 'link'
nil