From 039847a29868d335c08fe0a587260dffc71ca5c4 Mon Sep 17 00:00:00 2001 From: Ludvig Gunne Lindström Date: Fri, 17 Jul 2026 11:43:24 +0200 Subject: init --- doc/modules/fs.html | 138 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 doc/modules/fs.html (limited to 'doc/modules/fs.html') diff --git a/doc/modules/fs.html b/doc/modules/fs.html new file mode 100644 index 0000000..bfe5be3 --- /dev/null +++ b/doc/modules/fs.html @@ -0,0 +1,138 @@ + + + + + Melisma modules + + + + +
+ +
+ +
+
+
+ + +
+ + + + + + +
+ +

Module fs

+

File system utilities.

+

+ +

+ + +

Functions

+ + + + + +
readdir(path)List directory contents.
+ +
+
+ + +

Functions

+ Methods +
+
+ + readdir(path) +
+
+ List directory contents. + + +

Parameters:

+
    +
  • path + string + Directory path. +
  • +
+ +

Returns:

+
    + + table + Directory contents. +
+ + + +

Usage:

+
    +
    local fs = require 'melisma.fs'
    +local contents = fs.readdir('.')
    +for _,entry in ipairs(contents) do
    +	print(entry.name, entry.type)
    +end
    +
+ +
+
+ + +
+
+
+generated by LDoc 1.5.0 +Last updated 1980-01-01 00:00:00 +
+
+ + -- cgit v1.3.1