Skip to content

getFileSystemType

Gets the type of a file system object.

Import:

import { getFileSystemType } from '@mnaoumov/obsidian-lib/file-system';

Signature:

function getFileSystemType(abstractFile: TAbstractFile): FileSystemType

Parameters:

Parameter Type Description
abstractFile TAbstractFile The abstract file to get the type of.

Returns: FileSystemType — The type of the abstract file.