(existingPath, newPath)
| 1834 | } |
| 1835 | |
| 1836 | async function link(existingPath, newPath) { |
| 1837 | const h = vfsState.handlers; |
| 1838 | if (h !== null) { |
| 1839 | const promise = h.link(existingPath, newPath); |
| 1840 | if (promise !== undefined) { await promise; return; } |
| 1841 | } |
| 1842 | existingPath = getValidatedPath(existingPath, 'existingPath'); |
| 1843 | newPath = getValidatedPath(newPath, 'newPath'); |
| 1844 | return await PromisePrototypeThen( |
| 1845 | binding.link(existingPath, newPath, kUsePromises), |
| 1846 | undefined, |
| 1847 | handleErrorFromBinding, |
| 1848 | ); |
| 1849 | } |
| 1850 | |
| 1851 | async function unlink(path) { |
| 1852 | const h = vfsState.handlers; |
nothing calls this directly
no test coverage detected
searching dependent graphs…