add file.is_writeable

This commit is contained in:
MihailRis
2024-12-24 08:08:44 +03:00
parent d55d02ac9d
commit bc4aea67c9
4 changed files with 29 additions and 0 deletions
+6
View File
@@ -25,6 +25,12 @@ file.read_bytes(path: str) -> array of integers
Read file into bytes array.
```lua
file.is_writeable(path: str) -> bool
```
Checks if the specified path is writable.
```python
file.write(path: str, text: str) -> nil
```