deno.land / std@0.166.0 / node / _fs / _fs_fdatasync.ts

_fs_fdatasync.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.import { CallbackWithError } from "./_fs_common.ts";
export function fdatasync( fd: number, callback: CallbackWithError,) { Deno.fdatasync(fd).then(() => callback(null), callback);}
export function fdatasyncSync(fd: number) { Deno.fdatasyncSync(fd);}
std

Version Info

Tagged at
a year ago