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(путь: str) -> array of integers
Читает файл в массив байт.
```lua
file.is_writeable(путь: str) -> bool
```
Проверяет, доступно ли право записи по указанному пути.
```python
file.write(путь: str, текст: str) -> nil
```