mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(pipe) comments
This commit is contained in:
parent
f11e44e792
commit
6cbed24e7b
1 changed files with 11 additions and 10 deletions
|
|
@ -10,16 +10,17 @@
|
|||
|
||||
/**
|
||||
* create pipe
|
||||
* params: {callback, read or from, write or to, gzip}
|
||||
* read - readable stream
|
||||
* write - writable stream
|
||||
* to - name of file to write
|
||||
* from - name of file to read
|
||||
* gzip - should gzip to be used
|
||||
* callback - function(error) {}
|
||||
*
|
||||
* @param params
|
||||
* @param callback
|
||||
*
|
||||
* @param read - readable stream
|
||||
* @param write - writable stream
|
||||
*
|
||||
* @param options {
|
||||
* gzip
|
||||
* ungzip
|
||||
* notEnd
|
||||
* }
|
||||
*
|
||||
* @param callback - function(error) {}
|
||||
*/
|
||||
function create(read, write, options, callback) {
|
||||
var gzip, isFsWrite, func,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue