mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
doc: add unstable note to Deno.ftruncateSync and ftruncate (#6590)
This commit is contained in:
parent
74cd91ee56
commit
8a14eafaff
1 changed files with 4 additions and 2 deletions
6
cli/js/lib.deno.unstable.d.ts
vendored
6
cli/js/lib.deno.unstable.d.ts
vendored
|
@ -1086,7 +1086,8 @@ declare namespace Deno {
|
|||
/** **UNSTABLE**: The URL of the file that was originally executed from the command-line. */
|
||||
export const mainModule: string;
|
||||
|
||||
/** Synchronously truncates or extends the specified file stream, to reach the
|
||||
/** **UNSTABLE**: new API, yet to be vetted.
|
||||
* Synchronously truncates or extends the specified file stream, to reach the
|
||||
* specified `len`. If `len` is not specified then the entire file contents
|
||||
* are truncated.
|
||||
*
|
||||
|
@ -1106,7 +1107,8 @@ declare namespace Deno {
|
|||
*/
|
||||
export function ftruncateSync(rid: number, len?: number): void;
|
||||
|
||||
/** Truncates or extends the specified file stream, to reach the specified `len`. If
|
||||
/** **UNSTABLE**: new API, yet to be vetted.
|
||||
* Truncates or extends the specified file stream, to reach the specified `len`. If
|
||||
* `len` is not specified then the entire file contents are truncated.
|
||||
*
|
||||
* ```ts
|
||||
|
|
Loading…
Reference in a new issue