Skip to content

Latest commit

 

History

History
193 lines (94 loc) · 2.02 KB

File metadata and controls

193 lines (94 loc) · 2.02 KB

ISYS_FileSystemFileList interface

文件系统文件路径

Signature

interface ISYS_FileSystemFileList 

Properties

Property

Modifiers

Type

Description

fileName

string

文件名(前后均无斜杠)

fullPath

string

完整路径,包含文件名的绝对路径

isDirectory

boolean

是否为目录

relativePath?

string

(Optional) 相对路径,不包含前面的传入路径和文件名(当没有传入路径时,不存在相对路径),且前后均无斜杠

subFiles?

Array<ISYS_FileSystemFileList>

(Optional) 目录子文件


属性详情

filename

ISYS_FileSystemFileList.fileName property

文件名(前后均无斜杠)

Signature

fileName: string;

fullpath

ISYS_FileSystemFileList.fullPath property

完整路径,包含文件名的绝对路径

Signature

fullPath: string;

isdirectory

ISYS_FileSystemFileList.isDirectory property

是否为目录

Signature

isDirectory: boolean;

relativepath

ISYS_FileSystemFileList.relativePath property

相对路径,不包含前面的传入路径和文件名(当没有传入路径时,不存在相对路径),且前后均无斜杠

Signature

relativePath?: string;

subfiles

ISYS_FileSystemFileList.subFiles property

目录子文件

Signature

subFiles?: Array<ISYS_FileSystemFileList>;