@@ -71,6 +71,8 @@ fs.src(['*.js', '!b*.js'])
71
71
72
72
- Any glob-related options are documented in [ glob-stream] and [ node-glob] .
73
73
74
+ - Any through2-related options are documented in [ through2]
75
+
74
76
- Returns a Readable stream by default, or a Duplex stream if the ` passthrough ` option is set to ` true ` .
75
77
- This stream emits matching [ vinyl] File objects.
76
78
@@ -109,6 +111,8 @@ _Note:_ UTF-8 BOM will be stripped from all UTF-8 files read with `.src`.
109
111
- Any other options are passed through to ` gulp-sourcemaps `
110
112
- fs.dest('./', {<br > sourcemaps: {<br > path: '.',<br > addComment: false,<br > includeContent: false<br > }<br >})
111
113
114
+ - Any through2-related options are documented in [ through2]
115
+
112
116
- Returns a Readable/Writable stream.
113
117
- On write the stream will save the [ vinyl] File to disk at the folder/cwd specified.
114
118
- After writing the file to disk, it will be emitted from the stream so you can keep piping these around.
@@ -132,6 +136,8 @@ _Note:_ UTF-8 BOM will be stripped from all UTF-8 files read with `.src`.
132
136
- dirMode - Specify the mode the directory should be created with.
133
137
- Default is the process mode.
134
138
139
+ - Any through2-related options are documented in [ through2]
140
+
135
141
- Returns a Readable/Writable stream.
136
142
- On write the stream will create a symbolic link (i.e. symlink) on disk at the folder/cwd specified.
137
143
- After creating the symbolic link, it will be emitted from the stream so you can keep piping these around.
@@ -141,8 +147,9 @@ _Note:_ UTF-8 BOM will be stripped from all UTF-8 files read with `.src`.
141
147
[ glob-stream ] : https://github.com/gulpjs/glob-stream
142
148
[ node-glob ] : https://github.com/isaacs/node-glob
143
149
[ gaze ] : https://github.com/shama/gaze
144
- [ glob-watcher ] : https://github.com/gulpjs/glob-watcher
145
- [ vinyl ] : https://github.com/gulpjs/vinyl
150
+ [ glob-watcher ] : https://github.com/wearefractal/glob-watcher
151
+ [ vinyl ] : https://github.com/wearefractal/vinyl
152
+ [ through2 ] : https://github.com/rvagg/through2
146
153
[ npm-url ] : https://www.npmjs.com/package/vinyl-fs
147
154
[ npm-image ] : https://badge.fury.io/js/vinyl-fs.svg
148
155
[ travis-url ] : https://travis-ci.org/gulpjs/vinyl-fs
0 commit comments