콘텐츠로 이동

DirEntry

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/plugins/fs · Kind Interface

import { DirEntry } from '@netwiv/api/plugins/fs';

A disk entry which is either a file, a directory or a symlink.

This is the result of the {@linkcode readDir}.

isDirectory: boolean

Specifies whether this entry is a directory or not.

isFile: boolean

Specifies whether this entry is a file or not.

isSymlink: boolean

Specifies whether this entry is a symlink or not.

name: string

The name of the entry (file name with extension or directory name).

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/plugin-fs@2.5.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.