mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add file.is_writeable
This commit is contained in:
parent
d55d02ac9d
commit
bc4aea67c9
4 changed files with 29 additions and 0 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -25,6 +25,12 @@ file.read_bytes(путь: str) -> array of integers
|
|||
|
||||
Читает файл в массив байт.
|
||||
|
||||
```lua
|
||||
file.is_writeable(путь: str) -> bool
|
||||
```
|
||||
|
||||
Проверяет, доступно ли право записи по указанному пути.
|
||||
|
||||
```python
|
||||
file.write(путь: str, текст: str) -> nil
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue