diff options
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 612ebeccc..508e1ca6c 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1043,28 +1043,6 @@ declare namespace Deno { export function hostname(): string; /** **UNSTABLE**: New API, yet to be vetted. - * Synchronously returns a `Deno.FileInfo` for the given file stream. - * - * ```ts - * const file = Deno.openSync("file.txt", { read: true }); - * const fileInfo = Deno.fstatSync(file.rid); - * assert(fileInfo.isFile); - * ``` - */ - export function fstatSync(rid: number): FileInfo; - - /** **UNSTABLE**: New API, yet to be vetted. - * Returns a `Deno.FileInfo` for the given file stream. - * - * ```ts - * const file = await Deno.open("file.txt", { read: true }); - * const fileInfo = await Deno.fstat(file.rid); - * assert(fileInfo.isFile); - * ``` - */ - export function fstat(rid: number): Promise<FileInfo>; - - /** **UNSTABLE**: New API, yet to be vetted. * The pid of the current process's parent. */ export const ppid: number; |