1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00

docs: correct JSDoc @category for Deno.fsync[Sync]() and Deno.fdatasync[Sync]() (#22177)

As other APIs with the "f" prefix denote being part of the "File System"
`@category`.
This commit is contained in:
Asher Gomez 2024-02-08 09:42:17 +11:00 committed by GitHub
parent ffbb1bad03
commit 96c07e90ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2196,7 +2196,7 @@ declare namespace Deno {
* console.log(await Deno.readTextFile("my_file.txt")); // H
* ```
*
* @category I/O
* @category File System
*/
export function fsync(rid: number): Promise<void>;
@ -2215,7 +2215,7 @@ declare namespace Deno {
* console.log(Deno.readTextFileSync("my_file.txt")); // H
* ```
*
* @category I/O
* @category File System
*/
export function fsyncSync(rid: number): void;
@ -2231,7 +2231,7 @@ declare namespace Deno {
* console.log(await Deno.readTextFile("my_file.txt")); // Hello World
* ```
*
* @category I/O
* @category File System
*/
export function fdatasync(rid: number): Promise<void>;
@ -2249,7 +2249,7 @@ declare namespace Deno {
* console.log(Deno.readTextFileSync("my_file.txt")); // Hello World
* ```
*
* @category I/O
* @category File System
*/
export function fdatasyncSync(rid: number): void;