HomeFreeBSD

Lua lfs.attributes: Provide a more consistent error return

Description

Lua lfs.attributes: Provide a more consistent error return

In the remaining error case, return a 3-tuple consistent with the other
error return case.

Document how to invoke lfs.attributes() and detect/decode error return in
example comments.

Reviewed by: kevans
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D14451

Details

Provenance
cemAuthored on
Reviewer
kevans
Differential Revision
D14451: Lua lfs.attributes: Provide a more consistent error return
Parents
rS329648: MFC r325410:
Branches
Unknown
Tags
Unknown