57adb49de2
The new gluon.site lua library will eventually replace gluon.site_config (which is hereby deprecated, but will continue to be supported for a while). The new gluon.site library will wrap all values to allow traversing non-existing tables without errors. site = require 'gluon.site' c = site.a.b.c -- doesn't fail even if a or a.b don't exist The wrapped values must be unwrapped using call syntax: site_name = site.site_name() Using the call syntax on a non-existing value will return nil. An alternative default value may be passed instead: mac = site.next_node.mac('16:41:95:40:f7:dc') |
||
---|---|---|
.. | ||
files | ||
luasrc | ||
check_site.lua | ||
Makefile |