cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+10 -8
View File
@@ -2,14 +2,16 @@
String basename(String fn)
:params
fn : raw filename
return value : the file's name
fn : a path
return value : the final path component
:content
Returns the last component of a path — the file or directory name without its leading directories.
:example
print(basename("/var/www/site/index.uce"), "\n");
:see
>sys
:content
Isolates the file name component from a path or file name.
:example
print("basename example\n");
dirname
path_join