1
0
Fork 0
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:
Brayden 2020-04-27 16:07:57 -04:00 committed by GitHub
parent ee4e6a1ef9
commit a1974cbe43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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