Skip to main content
Module

x/uuid/lib/lib.deno_runtime.d.ts>Deno.stat

Deprecated! UUID is part of the deno standard library
Latest
function Deno.stat
import { Deno } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { stat } = Deno;

Queries the file system for information on the path provided. stat Will always follow symlinks.

  const fileInfo = await Deno.stat("hello.txt");
  assert(fileInfo.isFile());

Parameters

filename: string