// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only import * as fs from 'fs/promises'; export async function exists(path: string) { try { await fs.access(path); return true; } catch { return false; } }