summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-03 18:39:37 +1000
committerGitHub <noreply@github.com>2024-09-03 18:39:37 +1000
commit9bf10aa1e08ba071092b11fd60670e4a0fcb5491 (patch)
treecee83a9dd158624732911d088b864730a538ea00 /cli/tsc
parent1f51b5310f85ad28f2d00ce223c59ff0be9619d0 (diff)
chore(fs): remove `Deno.flock[Sync]()` (#25350)
Towards #22079
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/99_main_compiler.js2
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts20
2 files changed, 0 insertions, 22 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index a0bce0133..a6ec59125 100644
--- a/cli/tsc/99_main_compiler.js
+++ b/cli/tsc/99_main_compiler.js
@@ -46,8 +46,6 @@ delete Object.prototype.__proto__;
"UnixListenOptions",
"createHttpClient",
"dlopen",
- "flock",
- "flockSync",
"funlock",
"funlockSync",
"listen",
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
@@ -1218,26 +1218,6 @@ declare namespace Deno {
/** **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<void>;
-
- /** **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.
*
* @category File System