mozilla
Your Search Results

    OS.File.DirectoryIterator.Entry

    Instances of OS.File.DirectoryIterator.Entry represent file information that has been collected by traversing the directory holding the file. Due to differences between operating systems, the information available depends on the platform.

    Instances of OS.File.DirectoryIterator.Entry are obtained by:

    Instances of OS.File.DirectoryIterator.Entry

    Cross-platform attributes

    isDir boolean, read-only true if the entry is a directory, false otherwise
    isSymLink boolean, read-only true if the entry is a symbolic link, false otherwise
    name string, read-only the name of the entry
    path string, read-only the full path to the entry

    Platform-specific attributes (Windows)

    winLastAccessDate Date, read-only The date at which this file was last accessed.
    winCreationDate Date, read-only The date at which this file was created.
    winLastWriteDate Date, read-only The date at which this file was last modified.

    Screenshot of console.log on objects on Mac (10.10.1), Windows (8.1), Linux (Ubuntu)

    See Also

    Document Tags and Contributors

    Tags: 
    Contributors to this page: gfritzsche, Noitidart, teoli, Yoric, AmrEldib
    Last updated by: Noitidart,