// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.import{CallbackWithError}from"./_fs_common.ts"; exportfunctionfsync( fd:number, callback:CallbackWithError,){Deno.fsync(fd).then(()=>callback(null), callback);} exportfunctionfsyncSync(fd:number){Deno.fsyncSync(fd);}