Sha256: 5ce096c95daec0259817248921b39a9e0df4d342db171138ccb62440cc7a0cbe

Contents?: true

Size: 263 Bytes

Versions: 80

Compression:

Stored size: 263 Bytes

Contents

'use strict'
const u = require('universalify').fromPromise
const fs = require('../fs')

function pathExists (path) {
  return fs.access(path).then(() => true).catch(() => false)
}

module.exports = {
  pathExists: u(pathExists),
  pathExistsSync: fs.existsSync
}

Version data entries

80 entries across 74 versions & 6 rubygems

Version Path
rapid_stack-0.2.0 templates/frontend/node_modules/@ionic/utils-fs/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.2.0 templates/frontend/node_modules/@ionic/utils-subprocess/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.2.0 templates/frontend/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/@ionic/utils-fs/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/@ionic/utils-subprocess/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/@ionic/utils-subprocess/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/fs-extra/lib/path-exists/index.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/@ionic/utils-fs/node_modules/fs-extra/lib/path-exists/index.js
reed_sdk-1.0.1 node_modules/fs-extra/lib/path-exists/index.js
reed_sdk-1.0.0 node_modules/fs-extra/lib/path-exists/index.js
appmap-0.72.2 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.72.1 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.72.0 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.71.0 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.70.2 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.70.1 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.70.0 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.69.0 ./node_modules/fs-extra/lib/path-exists/index.js
appmap-0.68.2 ./node_modules/fs-extra/lib/path-exists/index.js