parent
9ebfac29f2
commit
81e0439161
16
History.md
16
History.md
|
@ -1,15 +1,15 @@
|
||||||
1.0.2 / 2017-11-20
|
# 1.0.3 / 2017-12-23
|
||||||
|
|
||||||
|
* [del] delete the log output
|
||||||
|
|
||||||
|
# 1.0.2 / 2017-11-20
|
||||||
|
|
||||||
* [fixed] Fixed remove the dir not empty call error.
|
* [fixed] Fixed remove the dir not empty call error.
|
||||||
|
|
||||||
|
# 1.0.1 / 2017-04-24
|
||||||
|
|
||||||
1.0.1 / 2017-04-24
|
|
||||||
* [add] ls function can recur list child folder with second para set to be true.
|
* [add] ls function can recur list child folder with second para set to be true.
|
||||||
|
|
||||||
|
# 1.0.0 / 2017-02-26
|
||||||
1.0.0 / 2017-02-26
|
|
||||||
==================
|
|
||||||
|
|
||||||
* new project
|
* new project
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
5
index.js
5
index.js
|
@ -6,8 +6,8 @@
|
||||||
*/
|
*/
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
const fs = require('fs'),
|
const fs = require('fs')
|
||||||
path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
class Iofs {
|
class Iofs {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -139,7 +139,6 @@ class Iofs {
|
||||||
ws = fs.createWriteStream(to)
|
ws = fs.createWriteStream(to)
|
||||||
|
|
||||||
rs.pipe(ws)
|
rs.pipe(ws)
|
||||||
rs.on('end', err => console.error(err))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iofs",
|
"name": "iofs",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "Base on native fs module, for easy using.",
|
"description": "Base on native fs module, for easy using.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue