Skip to main content
Module

x/denoversion/lib/lib.deno_runtime.d.ts>deno.stat

Deno cli to manage and bump release versions.
Latest
function deno.stat
import { deno } from "https://deno.land/x/denoversion@v1.0.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.

  import { stat } from "deno";
  const fileInfo = await stat("hello.txt");
  assert(fileInfo.isFile());

Parameters

filename: string