mailing list archives
Re: Add-on Lua code for file system operations?
From: Tony Trinh <tony19 () gmail com>
Date: Sat, 8 Feb 2014 17:38:30 -0600
*Guy Harris wrote:*
Should we either bundle the LuaFileSystem stuff, at least on platforms
where we bundle Lua with Wireshark rather than relying on the OS to have it
as a package (I guess the packager could make the appropriate Wireshark
package depend on the LuaFileSystem package, if one exists), or do our own
Lua extensions using the wsutil routines?
IMHO, that's beyond the scope of the Wireshark Lua API, which should only
provide APIs specific to Wireshark functionality that cannot be [easily]
accomplished with third party libraries (which are plentiful). In this
case, portable filesystem calls can be achieved with Penlight .
Regarding the specific directory-creation example you cited, use pl.dir .
Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org>
mailto:wireshark-dev-request () wireshark org?subject=unsubscribe