Chartbreaker
    Preparing search index...

    Interface FileSystemEntry

    The FileSystemEntry interface of the File and Directory Entries API represents a single entry in a file system.

    MDN Reference

    interface FileSystemEntry {
        filesystem: FileSystem;
        fullPath: string;
        isDirectory: boolean;
        isFile: boolean;
        name: string;
        getParent(
            successCallback?: FileSystemEntryCallback,
            errorCallback?: ErrorCallback,
        ): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    filesystem: FileSystem

    The read-only filesystem property of the FileSystemEntry interface contains a resides.

    MDN Reference

    fullPath: string

    The read-only fullPath property of the FileSystemEntry interface returns a string specifying the full, absolute path from the file system's root to the file represented by the entry.

    MDN Reference

    isDirectory: boolean

    The read-only isDirectory property of the FileSystemEntry interface is true if the entry represents a directory (meaning it's a FileSystemDirectoryEntry) and false if it's not.

    MDN Reference

    isFile: boolean

    The read-only isFile property of the FileSystemEntry interface is true if the entry represents a file (meaning it's a FileSystemFileEntry) and false if it's not.

    MDN Reference

    name: string

    The read-only name property of the FileSystemEntry interface returns a string specifying the entry's name; this is the entry within its parent directory (the last component of the path as indicated by the FileSystemEntry.fullPath property).

    MDN Reference

    Methods

    • The FileSystemEntry interface's method getParent() obtains a js-nolint getParent(successCallback, errorCallback) getParent(successCallback) - successCallback - : A function which is called when the parent directory entry has been retrieved.

      MDN Reference

      Parameters

      Returns void