Файловый менеджер ⚬ 文件管理器 ⚬ File manager
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- СоздатьНовыйФайл = мир =>
- {
- (async() => {
- try
- {
- await мир.фс.promises.writeFile(мир.новыйФайл, "");
- мир.уведомить("создали новый файл");
- }
- catch (ошибка)
- {
- мир.ошибкаОперацииФС = ошибка.code;
- мир.уведомить("ошибка операции файловой системы");
- }
- })();
- };
|