Remove undocument and unused options parameter
This commit is contained in:
parent
101a15c8c9
commit
20a1eef2e4
1 changed files with 1 additions and 3 deletions
|
@ -10,11 +10,9 @@ end
|
||||||
-- TODO transform paths:
|
-- TODO transform paths:
|
||||||
-- * to absolute value (e.g. ~ to home, scandir needs absolute)
|
-- * to absolute value (e.g. ~ to home, scandir needs absolute)
|
||||||
-- * to ensure / at the end (or no /) gets taken into account
|
-- * to ensure / at the end (or no /) gets taken into account
|
||||||
function ls.get_anchors_and_paths(path, recursive, options)
|
function ls.get_anchors_and_paths(path, recursive)
|
||||||
options = options or {}
|
|
||||||
-- TODO check for duplicates and warn user
|
-- TODO check for duplicates and warn user
|
||||||
local zettel = {}
|
local zettel = {}
|
||||||
-- TODO let user set as option, at least remove magic var
|
|
||||||
local anchorreg = '^.*/?(' .. o.anchor().regex .. ')[^/]*%' ..
|
local anchorreg = '^.*/?(' .. o.anchor().regex .. ')[^/]*%' ..
|
||||||
o.zettel().extension .. '$'
|
o.zettel().extension .. '$'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue