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

Commit 56a61d9

Browse files
authored
Merge pull request #293 from CaptainJohnyAppleSeed/patch-1
Doc change for setFile (existsSync is necessary)
2 parents e051dc9 + 815192f commit 56a61d9

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
@@ -578,6 +578,7 @@ class TextBuffer
578578
# that can be used to load the file's content.
579579
# * `createWriteStream` A {Function} that returns a `Writable` stream
580580
# that can be used to save content to the file.
581+
# * `existsSync` A {Function} that returns a {Boolean}, true if the file exists, false otherwise.
581582
# * `onDidChange` (optional) A {Function} that invokes its callback argument
582583
# when the file changes. The method should return a {Disposable} that
583584
# can be used to prevent further calls to the callback.

0 commit comments

Comments
 (0)