summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-05 21:23:37 +1000
committerGitHub <noreply@github.com>2024-09-05 11:23:37 +0000
commit7d95c5c062c7d836bab912e95587bf7fa52326c4 (patch)
treeef6ea1644324ad82545720af0d7480a316a2a45d /cli
parentc73b4a0877ca134a05262dc15524f54ff471cc3a (diff)
BREAKING(fs): remove `Deno.funlock[Sync]()` (#25442)
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/tools/test/fmt.rs1
-rw-r--r--cli/tsc/99_main_compiler.js2
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts18
3 files changed, 0 insertions, 21 deletions
diff --git a/cli/tools/test/fmt.rs b/cli/tools/test/fmt.rs
index 733e860d2..7a24c854a 100644
--- a/cli/tools/test/fmt.rs
+++ b/cli/tools/test/fmt.rs
@@ -323,7 +323,6 @@ pub const OP_DETAILS: phf::Map<&'static str, [&'static str; 2]> = phf_map! {
"op_fs_flock_async" => ["lock a file", "awaiting the result of a `Deno.FsFile.lock` call"],
"op_fs_fsync_async" => ["flush pending data operations for a file to disk", "awaiting the result of a `Deno.fsync` or `Deno.FsFile.sync` call"],
"op_fs_file_truncate_async" => ["truncate a file", "awaiting the result of a `Deno.FsFile.prototype.truncate` call"],
- "op_fs_funlock_async_unstable" => ["unlock a file", "awaiting the result of a `Deno.funlock` call"],
"op_fs_funlock_async" => ["unlock a file", "awaiting the result of a `Deno.FsFile.unlock` call"],
"op_fs_link_async" => ["create a hard link", "awaiting the result of a `Deno.link` call"],
"op_fs_lstat_async" => ["get file metadata", "awaiting the result of a `Deno.lstat` call"],
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index a6ec59125..f35fa7b5d 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",
- "funlock",
- "funlockSync",
"listen",
"listenDatagram",
"openKv",
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index 9dee14f7f..a478b2e14 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -1132,24 +1132,6 @@ declare namespace Deno {
/** **UNSTABLE**: New API, yet to be vetted.
*
- * Release an advisory file-system lock for the provided file.
- *
- * @category File System
- * @experimental
- */
- export function funlock(rid: number): Promise<void>;
-
- /** **UNSTABLE**: New API, yet to be vetted.
- *
- * Release an advisory file-system lock for the provided file synchronously.
- *
- * @category File System
- * @experimental
- */
- export function funlockSync(rid: number): void;
-
- /** **UNSTABLE**: New API, yet to be vetted.
- *
* Open a new {@linkcode Deno.Kv} connection to persist data.
*
* When a path is provided, the database will be persisted to disk at that