summaryrefslogtreecommitdiff
path: root/deps/npm/lib/utils/move.js
blob: d564962c219411d33a8fcaca6d79ce97d8e1034a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
module.exports = wrappedMove

const fs = require('graceful-fs')
const move = require('move-concurrently')
const Bluebird = require('bluebird')

const options = {fs: fs, Promise: Bluebird, maxConcurrency: 4}

function wrappedMove (from, to) {
  return move(from, to, options)
}