ServerJS/API/file: Difference between revisions

m
Moved close under open.
m (Moved close under open.)
Line 40: Line 40:
*# The path is resolved relative to the current working directory.
*# The path is resolved relative to the current working directory.
*# Throws an error if the specified stream cannot be created.
*# Throws an error if the specified stream cannot be created.
* close(): Closes the file. Should be called automatically when the mode is changed, and when the garbage collector collects its last reference.
*# close(): Closes the stream. Should be called automatically when the mode is changed, and when the garbage collector collects its last reference.


= Tier 2 =
= Tier 2 =


In progress.  More information about other potential additions, please refer to the [https://wiki.mozilla.org/ServerJS/API/file/Names|proposed names].
In progress.  More information about other potential additions, please refer to the [https://wiki.mozilla.org/ServerJS/API/file/Names|proposed names].
171

edits