mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-19 08:05:20 +01:00
Implement core.path_exists() (#16647)
This commit is contained in:
@@ -5962,7 +5962,8 @@ Utilities
|
||||
touch_controls = false,
|
||||
}
|
||||
```
|
||||
|
||||
* `core.path_exists(path)`: returns true if the given path exists else false
|
||||
* `path` is the path that will be tested can be either a directory or a file
|
||||
* `core.mkdir(path)`: returns success.
|
||||
* Creates a directory specified by `path`, creating parent directories
|
||||
if they don't exist.
|
||||
|
||||
Reference in New Issue
Block a user