(path, options)
| 2005 | } |
| 2006 | |
| 2007 | async function realpath(path, options) { |
| 2008 | const h = vfsState.handlers; |
| 2009 | if (h !== null) { |
| 2010 | const promise = h.realpath(path, options); |
| 2011 | if (promise !== undefined) return await promise; |
| 2012 | } |
| 2013 | options = getOptions(options); |
| 2014 | return await PromisePrototypeThen( |
| 2015 | binding.realpath(getValidatedPath(path), options.encoding, kUsePromises), |
| 2016 | undefined, |
| 2017 | handleErrorFromBinding, |
| 2018 | ); |
| 2019 | } |
| 2020 | |
| 2021 | async function mkdtemp(prefix, options) { |
| 2022 | const h = vfsState.handlers; |
no test coverage detected
searching dependent graphs…