Spec-Zone.ru › Dart 1

dart:html

Метод createFile

Future<Entry> createFile(String path, { bool exclusive: false })

Создать новый файл с указанным path. Если exclusive равно true, возвращаемое Future завершится ошибкой, если файл уже существует по указанному path.

Исходный код

Future<Entry> createFile(String path, {bool exclusive: false}) {
  return _getFile(path, options: {'create': true, 'exclusive': exclusive});
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DirectoryEntry/createFile.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API