From 9bf10aa1e08ba071092b11fd60670e4a0fcb5491 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 3 Sep 2024 18:39:37 +1000 Subject: chore(fs): remove `Deno.flock[Sync]()` (#25350) Towards #22079 --- cli/tsc/dts/lib.deno.unstable.d.ts | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 747ce5a7f..64ee74b84 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1216,26 +1216,6 @@ declare namespace Deno { options: UnixListenOptions & { transport: "unixpacket" }, ): DatagramConn; - /** **UNSTABLE**: New API, yet to be vetted. - * - * Acquire an advisory file-system lock for the provided file. - * - * @param [exclusive=false] - * @category File System - * @experimental - */ - export function flock(rid: number, exclusive?: boolean): Promise; - - /** **UNSTABLE**: New API, yet to be vetted. - * - * Acquire an advisory file-system lock synchronously for the provided file. - * - * @param [exclusive=false] - * @category File System - * @experimental - */ - export function flockSync(rid: number, exclusive?: boolean): void; - /** **UNSTABLE**: New API, yet to be vetted. * * Release an advisory file-system lock for the provided file. -- cgit v1.2.3