This commit is contained in:
kepler155c@gmail.com
2019-04-25 14:44:36 -04:00
parent 0e3cb15356
commit f4bcd61116
5 changed files with 10 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ end
local methods = { 'delete', 'exists', 'getFreeSpace', 'makeDir', 'list', 'listEx' }
local function resolveDir(dir, node)
-- TODO: Wrong ! (does not support names with dashes)
dir = dir:gsub(node.mountPoint, '', 1)
return fs.combine(node.directory, dir)
end