handlers.lua

changeset 26
77cd7b8fb6a6
parent 7
038275cd92ed
child 34
4c7122a505d4
equal deleted inserted replaced
25:11ae9103f59d 26:77cd7b8fb6a6
7 handlers.copy=require("handlers.copy") 7 handlers.copy=require("handlers.copy")
8 handlers.ignore=require("handlers.ignore") 8 handlers.ignore=require("handlers.ignore")
9 9
10 local available={ 10 local available={
11 { pattern = "%.lg$", handler = handlers.render}, 11 { pattern = "%.lg$", handler = handlers.render},
12 { pattern = "%.md$", handler = handlers.render},
12 { pattern = "%.note$", handler = handlers.ignore}, 13 { pattern = "%.note$", handler = handlers.ignore},
14 { pattern = "%.hg/", handler = handlers.ignore},
13 { pattern = "", handler = handlers.copy}, 15 { pattern = "", handler = handlers.copy},
14 } 16 }
15 17
16 18
17 function handlers.find(f) 19 function handlers.find(f)

mercurial