Function xplr::lua::util::explore

source ·
pub fn explore<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>>
Expand description

Explore directories with the given explorer config.

Type: function( path:string, [ExplorerConfig][1]|nil ) -> { [Node][2], … }

Example:


xplr.util.explore("/tmp")
-- { { absolute_path = "/tmp/a", ... }, ... }

xplr.util.explore("/tmp", app.explorer_config)
-- { { absolute_path = "/tmp/a", ... }, ... }