Skip to main content
Module

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

Deno cli to manage and bump release versions.
Latest
function deno.lstat
import { deno } from "https://deno.land/x/denoversion@v1.0.2/lib/lib.deno_runtime.d.ts";
const { lstat } = deno;

Queries the file system for information on the path provided. If the given path is a symlink information about the symlink will be returned.

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

Parameters

filename: string