file.file.lattrs
Declaration
lua
file.lattrs(path)
Description
Get file attributes using lstat (does NOT follow symlinks). Can detect symlinks (type='link').
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Required | — |
Return Values
| Type | Description |
|---|---|
| table | Same as attrs but type can be 'link' |
| nil |