From 3417ecac02326bc91fa0cea797a3b69624983789 Mon Sep 17 00:00:00 2001 From: TorchedSammy Date: Mon, 25 Dec 2023 23:53:09 +0000 Subject: [PATCH] deploy: 0de305a9a3b795d7938a654b263083bdad8e6453 --- versions/doc-improvements/docs/api/fs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/doc-improvements/docs/api/fs/index.html b/versions/doc-improvements/docs/api/fs/index.html index 96d0432..5c7c521 100644 --- a/versions/doc-improvements/docs/api/fs/index.html +++ b/versions/doc-improvements/docs/api/fs/index.html @@ -34,7 +34,7 @@ library offers more functions and will work on any operating system Hilbish does 2print(fs.join(hilbish.userDir.config, 'hilbish')) 3-- -> '/home/user/.config/hilbish' on Linux

fs.mkdir(name, recursive) -

Creates a new directory with the provided name.
With recursive, mkdir will create parent directories.

– This will create the directory foo, then create the directory bar in the
– foo directory. If recursive is false in this case, it will fail.
fs.mkdir(’./foo/bar’, true)

Parameters +

Creates a new directory with the provided name.
With recursive, mkdir will create parent directories.
– This will create the directory foo, then create the directory bar in the
– foo directory. If recursive is false in this case, it will fail.
fs.mkdir(’./foo/bar’, true)

Parameters

string name
Name of the directory

boolean recursive
Whether to create parent directories for the provided name

Example

fs.readdir(path) -> table[string]

Returns a list of all files and directories in the provided path.

Parameters