mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Mark Deno.umask unstable (#4935)
This commit is contained in:
parent
ee4e6a1ef9
commit
a1974cbe43
1 changed files with 2 additions and 1 deletions
|
@ -210,10 +210,11 @@ struct UmaskArgs {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn op_umask(
|
fn op_umask(
|
||||||
_state: &State,
|
state: &State,
|
||||||
args: Value,
|
args: Value,
|
||||||
_zero_copy: Option<ZeroCopyBuf>,
|
_zero_copy: Option<ZeroCopyBuf>,
|
||||||
) -> Result<JsonOp, OpError> {
|
) -> Result<JsonOp, OpError> {
|
||||||
|
state.check_unstable("Deno.umask");
|
||||||
let args: UmaskArgs = serde_json::from_value(args)?;
|
let args: UmaskArgs = serde_json::from_value(args)?;
|
||||||
// TODO implement umask for Windows
|
// TODO implement umask for Windows
|
||||||
// see https://github.com/nodejs/node/blob/master/src/node_process_methods.cc
|
// see https://github.com/nodejs/node/blob/master/src/node_process_methods.cc
|
||||||
|
|
Loading…
Reference in a new issue