diff --git a/docs/d0/d04/class_sys.html b/docs/d0/d04/class_sys.html index f106a07..0659953 100644 --- a/docs/d0/d04/class_sys.html +++ b/docs/d0/d04/class_sys.html @@ -130,11 +130,53 @@ static i64 random ()  Generate a random integer value.
  +static bool changeDirectory (char *directory) + Changes the current working directory.
+  +static string workingDirectory () + Retrieves the current working directory.

Detailed Description

Class for handling system utilities in Rishka applications.

The Sys class provides static methods for delaying execution, accessing system time, executing shell commands, retrieving system information, and exiting the application.

Member Function Documentation

+ +

◆ changeDirectory()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Sys::changeDirectory (char * directory)
+
+static
+
+ +

Changes the current working directory.

+

This static method changes the current working directory to the specified directory.

+
Parameters
+ + +
directoryThe directory to change to.
+
+
+
Returns
True if the directory change was successful, false otherwise.
+ +
+

◆ delay()

@@ -416,6 +458,35 @@

Returns
The exit status of the shell command.
+ + +
+

◆ workingDirectory()

+ +
+
+ + + + + +
+ + + + + + + +
string Sys::workingDirectory ()
+
+static
+
+ +

Retrieves the current working directory.

+

This static method returns the current working directory as a string.

+
Returns
A string representing the current working directory.
+

The documentation for this class was generated from the following files: