mirror of
https://github.com/denoland/deno.git
synced 2025-01-11 08:33:43 -05:00
FUTURE(ext/fs): remove Deno.FsFile.rid
(#23087)
Continues work from #23075. Towards #23089.
This commit is contained in:
parent
c9e10ededa
commit
3462248571
4 changed files with 7 additions and 1 deletions
|
@ -790,6 +790,7 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
|
|||
delete Deno.ftruncateSync;
|
||||
delete Deno.flock;
|
||||
delete Deno.flockSync;
|
||||
delete Deno.FsFile.prototype.rid;
|
||||
delete Deno.funlock;
|
||||
delete Deno.funlockSync;
|
||||
delete Deno.iter;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"args": "run main.js",
|
||||
"args": "run -A main.js",
|
||||
"output": "main.out",
|
||||
"envs": {
|
||||
"DENO_FUTURE": "1"
|
||||
|
|
|
@ -9,6 +9,10 @@ console.log("Deno.ftruncate is", Deno.ftruncate);
|
|||
console.log("Deno.ftruncateSync is", Deno.ftruncateSync);
|
||||
console.log("Deno.flock is", Deno.flock);
|
||||
console.log("Deno.flockSync is", Deno.flockSync);
|
||||
console.log(
|
||||
"Deno.FsFile.prototype.rid is",
|
||||
Deno.openSync(import.meta.filename).rid,
|
||||
);
|
||||
console.log("Deno.funlock is", Deno.funlock);
|
||||
console.log("Deno.funlockSync is", Deno.funlockSync);
|
||||
console.log("Deno.iter is", Deno.iter);
|
||||
|
|
|
@ -9,6 +9,7 @@ Deno.ftruncate is undefined
|
|||
Deno.ftruncateSync is undefined
|
||||
Deno.flock is undefined
|
||||
Deno.flockSync is undefined
|
||||
Deno.FsFile.prototype.rid is undefined
|
||||
Deno.funlock is undefined
|
||||
Deno.funlockSync is undefined
|
||||
Deno.iter is undefined
|
||||
|
|
Loading…
Reference in a new issue