Lines Matching defs:exists
258 * Tests whether or not the given path exists.
260 * @param {(exists?: boolean) => any} callback
263 function exists(path, callback) {
277 ObjectDefineProperty(exists, kCustomPromisifiedSymbol, {
279 value: function exists(path) { // eslint-disable-line func-name-matching
280 return new Promise((resolve) => fs.exists(path, resolve));
291 * Synchronously tests whether or not the given path exists.
2609 // On windows, check that the root exists. On unix there is no need.
2695 // On windows, check that the root exists. On unix there is no need.
2760 // On windows, check that the root exists. On unix there is no need.
2848 // On windows, check that the root exists. On unix there is no need.
2938 * default, `dest` is overwritten if it already exists.
2966 * default, `dest` is overwritten if it already exists.
3091 exists,