FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webpack/lib/node/NodeOutputFileSystem.js at master · codeinvain/webpack · GitHub
codeinvain
webpack
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
webpack
/
lib
/
node
/
NodeOutputFileSystem.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (15 loc) · 616 Bytes
Breadcrumbs
webpack
/
lib
/
node
/
NodeOutputFileSystem.js
Copy path
File metadata and controls
17 lines (15 loc) · 616 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var
fs
=
require
(
"fs"
)
;
var
path
=
require
(
"path"
)
;
var
mkdirp
=
require
(
"mkdirp"
)
;
function
NodeOutputFileSystem
(
)
{
}
module
.
exports
=
NodeOutputFileSystem
;
NodeOutputFileSystem
.
prototype
.
mkdirp
=
mkdirp
;
NodeOutputFileSystem
.
prototype
.
mkdir
=
fs
.
mkdir
.
bind
(
this
)
;
NodeOutputFileSystem
.
prototype
.
rmdir
=
fs
.
rmdir
.
bind
(
this
)
;
NodeOutputFileSystem
.
prototype
.
unlink
=
fs
.
unlink
.
bind
(
this
)
;
NodeOutputFileSystem
.
prototype
.
writeFile
=
fs
.
writeFile
.
bind
(
fs
)
;
NodeOutputFileSystem
.
prototype
.
join
=
path
.
join
.
bind
(
path
)
;
Back
|
FazBrowse Home
|
New Git URL