decided in favor of dedicated COMPONENT() macro, updates to documentation

This commit is contained in:
udo
2026-04-19 11:34:03 +00:00
parent be514d63d6
commit 2b5586d7df
56 changed files with 926 additions and 401 deletions
+13
View File
@@ -129,6 +129,19 @@ String dirname(String fn)
return(result);
}
String path_join(String base, String child)
{
if(base == "")
return(child);
if(child == "")
return(base);
if(child[0] == '/')
return(child);
if(base[base.length() - 1] == '/')
return(base + child);
return(base + "/" + child);
}
bool mkdir(String path)
{
shell_exec(String("mkdir -p ")+" "+shell_escape(path));