MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / createDir

Function createDir

javascript/selenium-webdriver/io/zip.js:185–192  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

183 return Promise.all(promises).then(() => dst)
184
185 function createDir(dir) {
186 let p = promisedDirs.get(dir)
187 if (!p) {
188 p = io.mkdirp(path.join(dst, dir))
189 promisedDirs.set(dir, p)
190 }
191 return p
192 }
193
194 function writeFile(relPath, file) {
195 return file.async('nodebuffer').then((buffer) => io.write(path.join(dst, relPath), buffer))

Callers 1

unzipFunction · 0.85

Calls 3

joinMethod · 0.80
getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected