vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Interface FileStat

    interface FileStat {
        ctime: number;
        mtime: number;
        name: string;
        size: number;
        isDirectory(): boolean;
        isFile(): boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    ctime: number

    The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

    mtime: number

    The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

    Note: If the file changed, it is important to provide an updated mtime that advanced from the previous value. Otherwise there may be optimizations in place that will not show the updated file contents in an editor for example.

    name: string

    The file name that this DirectoryEntry object refers to.

    size: number

    The size in bytes.

    Note: If the file changed, it is important to provide an updated size. Otherwise there may be optimizations in place that will not show the updated file contents in an editor for example.

    Methods