Ivan Torres
8146f2e607
doc: clarify fs.symlink and fs.symlinkSync parameters
13 years ago
Ben Noordhuis
5b5362aa8d
fs: make unwatchFile() remove a specific listener
Before this commit, `fs.unwatchFile(path)` removed *all* listeners for `path`.
The function is overloaded now: `fs.unwatchFile(path)` still removes all
listeners, but `fs.unwatchFile(path, cb)` lets you remove a specific listener.
Fixes #3660 .
13 years ago
Ben Noordhuis
b9abb64fbb
doc: fs.lchmod() is only available on OS X
13 years ago
Ben Noordhuis
be3afd0bec
doc: remove references to deprecated fs api
The string-based versions of fs.read() and fs.write() have been deprecated
since before v0.2.0.
13 years ago
Ben Noordhuis
8708bb0280
doc: update fs.watchFile() docs
13 years ago
Igor Zinkovsky
39e25528eb
windows: enable creating directory junctions with fs.symlink
13 years ago
Andreas Madsen
a039bad299
fs.watch should not require a listener arguments
Since fs.watch returns an event emitter where the change event is exactly
the same as the listener callback, the argument should be required
13 years ago
Ben Noordhuis
18b94ea838
doc: improve fs.open() docs
13 years ago
Kevin Bowman
ccc4e547ea
doc: document fs 'rs+' open mode
13 years ago
Kevin Bowman
dfcdd5b8aa
fs: add sync open flags 'rs' and 'rs+'
13 years ago
Kyle Robinson Young
6ba3e68bd2
doc: correct return value of string-based fs.readSync
Closes #2330
13 years ago
Kyle Robinson Young
7cd1690f3d
doc: add cache argument to fs.realpath()
13 years ago
Kyle Robinson Young
0a83b78ba8
docs: more explicit argument names in fs
13 years ago
Zachary Scott
0dd8e0167d
doc: document fs.createReadStream() encodings
Fixes #2700 .
13 years ago
Rod Vagg
90b785c09a
doc: fix # links from (and within) api/fs
13 years ago
Rod Vagg
6628a3b6ea
doc: fix # links from (and within) api/fs
13 years ago
isaacs
8258bd467a
doc: 'filename' arg not guaranteed ever.
13 years ago
isaacs
a42b4ad44e
doc: Typo'd some stability indicators.
13 years ago
isaacs
1d59a73fef
doc: Change 'file_system' module to 'fs' as it should be
13 years ago
isaacs
2e487379ad
doc: Stability and Caveats for fs.watch/watchFile
13 years ago
isaacs
f70be203e4
doc: indentation and structure in fs.markdown
13 years ago
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
7bfa5cf284
s/streams/stream/
13 years ago
isaacs
2a6ff3f56b
doc refactor: fs
13 years ago
isaacs
f9df88c6da
s/streams/stream/
13 years ago
isaacs
40190b7c92
doc refactor: fs
13 years ago
Ben Noordhuis
279e7e7341
fs: add O_EXCL support, exclusive open file
13 years ago
Maciej Małecki
e10ed097cb
path fs: move `path.exists*` to `fs.exists*`
`path.exists*` functions show a deprecation warning and call functions
from `fs`. They should be removed later.
test: fix references to `path.exists*` in tests
test fs: add test for `fs.exists` and `fs.existsSync`
doc: reflect moving `path.exists*` to `fs`
13 years ago
Emerson Macedo
aa67b1f375
fs: add appendFile() and appendFileSync() functions
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Igor Zinkovsky
d6bae2cb95
document mode argument for fs.symlink
13 years ago
Trevor Burnham
06d71ad457
docs: document the `persistent` option for `fs.watch` and `fs.watchFile`
13 years ago
Jacob H.C. Kragh
c1472ac105
docs: fix some minor typos in the fs documentation
* fchmodSync: replace 'path' with 'fd'
* lchmod: replace 'fd' with 'path'
* utimes, futimes, fsync: mark 'callback' as optional
13 years ago
Jacob H.C. Kragh
44a5452a4f
docs: fix typo in the documented fchown signature
13 years ago
koichik
a6dbe0ff23
docs: make fs.mkdir()'s mode argument an option.
13 years ago
isaacs
06190928c0
doc: Correct blatantly wrong futimes documentation
13 years ago
koichik
00aa8935d7
docs: improvement fs, http and https
13 years ago
Brian White
f243ca199b
docs: mention util instead of sys
13 years ago
Ilya Dmitrichenko
39987cbc80
docs: improved fs.Stats section in API documentation
13 years ago
Igor Zinkovsky
f164704383
fs.watch documentation
13 years ago
Brian White
eb40dcb097
Fix typo for fs.write docs
Fixes #1843 .
13 years ago
koichik
b93a7cc99e
docs: add links
13 years ago
Thomas Shinnick
e58c036c27
fs: add positioned file writing feature to fs.WriteStream
Patterned on same feature in ReadStream; a small bit of new code added
plus two refactorings of previous code; added two test files.
Fixes #1645 .
13 years ago
Thomas Shinnick
4cf0ce5bb4
docs: typos and minor edits in several modules
Mostly quite minor edits. Those possibly of more interest are:
emitter.setMaxListeners(n)
That the limit is per event name for an emitter.
fs.readlink()
Not a path, but rather the symbolic link's string value, which
would be at best a partial path, certainly not a 'resolvedPath'
global.__filename
This may be "well-known" but this is a full path to the module
that referencing code is running in. It is not the main program's
path, unless you are in the main program. Each module knows only
its own path.
server.listen(port,...)
I actually needed this functionality... "gimme just _any_ next port"
stream.end()
stream.destroy()
Yeah, everybody knows what happens to the queued data, but let's
make it *really* explicit for the first readers.
14 years ago
Mickaël Delahaye
e8d268fd5f
Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.
Fixes #1533 .
14 years ago
Arnout Kazemier
7ba30a4c2e
Small changes for fs.watchFile. Fixed broken markdown. Changed variable `f` to a proper filename.
Fixes #1507 .
14 years ago
Christopher Wright
0d8d04e585
Correct code span
Fixes #1489 .
14 years ago
Wojciech Wnętrzak
25c1a5e804
added information about relative paths in File System module
14 years ago
Wojciech Wnętrzak
9a16f1c7d0
added information about relative paths in File System module
14 years ago
koichik
7e8735b3fe
Doc improvements. Explained the flags of fs.open().
Fixes #1268 .
14 years ago