PATH:
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
fs
/
lib
const fs = require('./fs.js') const getOptions = require('./common/get-options.js') const withOwner = require('./with-owner.js') const writeFile = async (file, data, opts) => { const options = getOptions(opts, { copy: ['encoding', 'mode', 'flag', 'signal'], wrap: 'encoding', }) return withOwner(file, () => fs.writeFile(file, data, options), opts) } module.exports = writeFile
[-] with-temp-dir.js
[edit]
[+]
rm
[-] errors.js
[edit]
[+]
..
[+]
cp
[-] with-owner.js
[edit]
[+]
common
[-] with-owner-sync.js
[edit]
[-] index.js
[edit]
[-] fs.js
[edit]
[-] copy-file.js
[edit]
[-] mkdir.js
[edit]
[-] write-file.js
[edit]
[-] mkdtemp.js
[edit]