HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

Olvidó Contraseña?
DIR: /var/www/node-app/node_modules/puppeteer-core/src/node/util/
Upload File :
Current File : //var/www/node-app/node_modules/puppeteer-core/src/node/util/fs.ts
/**
 * @license
 * Copyright 2023 Google Inc.
 * SPDX-License-Identifier: Apache-2.0
 */

import fs from 'fs';

const rmOptions = {
  force: true,
  recursive: true,
  maxRetries: 5,
};

/**
 * @internal
 */
export async function rm(path: string): Promise<void> {
  await fs.promises.rm(path, rmOptions);
}

/**
 * @internal
 */
export function rmSync(path: string): void {
  fs.rmSync(path, rmOptions);
}