Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 2319913

Browse files
Doc change for setFile (existsSync is necessary)
existsSync method is necessary for the object passed into setFile. Should be reflected in comment /issues/258
1 parent e051dc9 commit 2319913

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/text-buffer.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ class TextBuffer
576576
# * `getPath` A {Function} that returns the {String} path to the file.
577577
# * `createReadStream` A {Function} that returns a `Readable` stream
578578
# that can be used to load the file's content.
579+
# * `existsSync` A {function} that returns the {Boolean}, true if the file exists, false otherwise
579580
# * `createWriteStream` A {Function} that returns a `Writable` stream
580581
# that can be used to save content to the file.
581582
# * `onDidChange` (optional) A {Function} that invokes its callback argument

0 commit comments

Comments
 (0)