Software /
code /
prosody
Comparison
util/datamanager.lua @ 9993:02a41315d275
Fix various spelling mistakes [codespell]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 May 2019 20:54:24 +0200 |
parent | 8555:4f0f5b49bb03 |
child | 10531:810abf34919a |
comparison
equal
deleted
inserted
replaced
9992:9d6baacdd8e6 | 9993:02a41315d275 |
---|---|
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; |