forked from zhurui/management
10 lines
161 B
JavaScript
10 lines
161 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var mkdirp = require('mkdirp');
|
||
|
|
||
|
function writeDir (writePath, file, cb) {
|
||
|
mkdirp(writePath, file.stat.mode, cb);
|
||
|
}
|
||
|
|
||
|
module.exports = writeDir;
|