diff options
Diffstat (limited to 'ext/fs/ops.rs')
-rw-r--r-- | ext/fs/ops.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ext/fs/ops.rs b/ext/fs/ops.rs index acf2c216f..0ac4f5016 100644 --- a/ext/fs/ops.rs +++ b/ext/fs/ops.rs @@ -1494,28 +1494,6 @@ pub async fn op_fs_file_stat_async( } #[op2(fast)] -pub fn op_fs_funlock_sync_unstable( - state: &mut OpState, - #[smi] rid: ResourceId, -) -> Result<(), AnyError> { - check_unstable(state, "Deno.funlockSync"); - let file = FileResource::get_file(state, rid)?; - file.unlock_sync()?; - Ok(()) -} - -#[op2(async)] -pub async fn op_fs_funlock_async_unstable( - state: Rc<RefCell<OpState>>, - #[smi] rid: ResourceId, -) -> Result<(), AnyError> { - check_unstable(&state.borrow(), "Deno.funlock"); - let file = FileResource::get_file(&state.borrow(), rid)?; - file.unlock_async().await?; - Ok(()) -} - -#[op2(fast)] pub fn op_fs_flock_sync( state: &mut OpState, #[smi] rid: ResourceId, |