Software /
code /
prosody
Comparison
util/datamanager.lua @ 10061:5c71693c8345
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 Jul 2019 02:44:32 +0200 |
parent | 9993:02a41315d275 |
child | 10531:810abf34919a |
comparison
equal
deleted
inserted
replaced
10060:7a36b7ac309b | 10061:5c71693c8345 |
---|---|
22 local t_insert = table.insert; | 22 local t_insert = table.insert; |
23 local t_concat = table.concat; | 23 local t_concat = table.concat; |
24 local envloadfile = require"util.envload".envloadfile; | 24 local envloadfile = require"util.envload".envloadfile; |
25 local serialize = require "util.serialization".serialize; | 25 local serialize = require "util.serialization".serialize; |
26 local lfs = require "lfs"; | 26 local lfs = require "lfs"; |
27 -- Extract directory seperator from package.config (an undocumented string that comes with lua) | 27 -- Extract directory separator from package.config (an undocumented string that comes with lua) |
28 local path_separator = assert ( package.config:match ( "^([^\n]+)" ) , "package.config not in standard form" ) | 28 local path_separator = assert ( package.config:match ( "^([^\n]+)" ) , "package.config not in standard form" ) |
29 | 29 |
30 local prosody = prosody; | 30 local prosody = prosody; |
31 | 31 |
32 local raw_mkdir = lfs.mkdir; | 32 local raw_mkdir = lfs.mkdir; |