Skip to main content
Module

std/fs/_util.ts>getFileInfoType

Deno standard library
Go to Latest
function getFileInfoType
import { getFileInfoType } from "https://deno.land/std@0.176.0/fs/_util.ts";

Get a human readable file type string.

Parameters

fileInfo: Deno.FileInfo

A FileInfo describes a file and is returned by stat, lstat

Returns

PathType | undefined