/**
 * @copyright Sister Software
 * @license AGPL-3.0
 * @author Teffen Ellis, et al.
 */
import { stat } from "node:fs/promises";
/**
 * Attempts to stat a file or directory.
 */
export function tryStat(pathBuilderLike) {
    return stat(pathBuilderLike).catch(() => null);
}
//# sourceMappingURL=fs.js.map