Mercurial Hosting > hghosting
view src/private/tools/links.txt.luan @ 28:cfedb3f6cbac default tip
prevent infinite .0s at end of log backup filenames
| author | Violet7 |
|---|---|
| date | Mon, 23 Feb 2026 18:08:44 -0800 |
| parents | dfc36e7ed22c |
| children |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local pairs = Luan.pairs or error() local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Shared = require "site:/lib/Shared.luan" local config = Shared.config or error() return function() Io.stdout = Http.response.text_writer() for _, repo in pairs(config.repos) do if repo.users.backup then %> <%=repo.name%> <% end end end
