comparison util/datamanager.lua @ 14186:d975d280baec

Merge 13.0->trunk
author Matthew Wild <mwild1@gmail.com>
date Mon, 25 May 2026 19:01:23 +0100
parents 604bed81808e
children
comparison
equal deleted inserted replaced
14168:4f4c346e4f39 14186:d975d280baec
666 elseif username then 666 elseif username then
667 local store_name = decode(node); 667 local store_name = decode(node);
668 if lfs.attributes(getpath(username, host, store_name, typ), "mode") then 668 if lfs.attributes(getpath(username, host, store_name, typ), "mode") then
669 return store_name; 669 return store_name;
670 end 670 end
671 elseif lfs.attributes(node, "mode") == "file" then 671 elseif lfs.attributes(store_dir..node, "mode") == "file" then
672 local file, ext = node:match("^(.*)%.([dalist]+)$"); 672 local file, ext = node:match("^(.*)%.([dalist]+)$");
673 if ext == typ then 673 if ext == typ then
674 return decode(file) 674 return decode(file)
675 end 675 end
676 end 676 end