lunarmodules / Penlight

A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.
https://lunarmodules.github.io/Penlight/
MIT License
1.93k stars 241 forks source link

Path.exists #482

Closed jlaurens closed 3 months ago

jlaurens commented 3 months ago

Actually return attrib(P,'mode') ~= nil and P returns false or P, not nil or P as documented.

jlaurens commented 3 months ago

This is a mess, only one file is meant to change