You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Returns whether or not the specified file exists. You can only check for files inside .rte folders in the working directory.
448
454
/// </summary>
449
-
/// <param name="fileName">Path to the file. All paths are made absolute by adding current working directory to the specified path.</param>
455
+
/// <param name="path">Path to the file. All paths are made absolute by adding current working directory to the specified path.</param>
450
456
/// <returns>Whether or not the specified file exists.</returns>
451
-
boolFileExists(const std::string &fileName);
457
+
boolFileExists(const std::string &path);
452
458
453
459
/// <summary>
454
-
/// Opens a file or creates one if it does not exist, depending on access mode. You can open files only inside .rte folders in the working directly. You can't open more that c_MaxOpenFiles file simultaneously.
460
+
/// Returns whether or not the specified directory exists. You can only check for directories inside .rte folders in the working directory.
461
+
/// </summary>
462
+
/// <param name="path">Path to the directory. All paths are made absolute by adding current working directory to the specified path.</param>
463
+
/// <returns>Whether or not the specified file exists.</returns>
464
+
boolDirectoryExists(const std::string &path);
465
+
466
+
/// <summary>
467
+
/// Returns whether or not the path refers to an accessible file or directory. You can only check for files or directories inside .rte directories in the working directory.
468
+
/// </summary>
469
+
/// <param name="path">Path to the file or directory. All paths are made absolute by adding current working directory to the specified path.</param>
470
+
/// <returns>Whether or not the specified file exists.</returns>
471
+
boolIsValidModulePath(const std::string &path);
472
+
473
+
/// <summary>
474
+
/// Opens a file or creates one if it does not exist, depending on access mode. You can open files only inside .rte folders in the working directory. You can't open more that c_MaxOpenFiles file simultaneously.
455
475
/// On Linux will attempt to open a file case insensitively.
456
476
/// </summary>
457
-
/// <param name="filename">Path to the file. All paths are made absolute by adding current working directory to the specified path.</param>
477
+
/// <param name="path">Path to the file. All paths are made absolute by adding current working directory to the specified path.</param>
458
478
/// <param name="mode">File access mode. See 'fopen' for list of modes.</param>
459
479
/// <returns>File index in the opened files array.</returns>
/// <param name="path">Path to the file. All paths are made absolute by adding current working directory to the specified path.</param>
497
+
/// <returns>Whether or not the file was removed.</returns>
498
+
boolFileRemove(const std::string &path);
499
+
500
+
/// <summary>
501
+
/// Creates a directory, optionally recursively.
502
+
/// </summary>
503
+
/// <param name="path">Path to the directory to be created. All paths are made absolute by adding current working directory to the specified path.</param>
504
+
/// <param name="recursive">Whether to recursively create parent directories.</param>
505
+
/// <returns>Whether or not the directory was removed.</returns>
/// <param name="path">Path to the directory to be removed. All paths are made absolute by adding current working directory to the specified path.</param>
512
+
/// <param name="recursive">Whether to recursively remove files and directories.</param>
513
+
/// <returns>Whether or not the directory was removed.</returns>
/// Moves or renames the filesystem object oldPath to newPath.
518
+
/// </summary>
519
+
/// <param name="oldPath">Path to the filesystem object. All paths are made absolute by adding current working directory to the specified path.</param>
520
+
/// <param name="newPath">Path to the filesystem object. All paths are made absolute by adding current working directory to the specified path.</param>
521
+
/// <returns>Whether or not renaming succeeded.</returns>
0 commit comments