[io/doc] Fix typo in File.createSync() documentation

Change-Id: Id077d3c56b6e9835821cf9d4463df34c626ffb32
CoreLibraryReviewExempt: documentation update
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/331920
Reviewed-by: Brian Quinlan <bquinlan@google.com>
Commit-Queue: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
sgrekhov 2023-10-25 19:11:30 +00:00 committed by Commit Queue
parent 5c4fd50667
commit 79d359ed45

View file

@ -237,8 +237,8 @@ abstract interface class File implements FileSystemEntity {
/// only if all directories in its path already exist.
/// If [recursive] is `true`, all non-existing parent paths are created first.
///
/// If [exclusive] is `true` and to-be-created file already exists, this
/// operation completes the future with a [FileSystemException].
/// If [exclusive] is `true` and to-be-created file already exists, then
/// a [FileSystemException] is thrown.
///
/// If [exclusive] is `false`, existing files are left untouched by
/// [createSync]. Calling [createSync] on an existing file still might fail