Documentation
    Preparing search index...

    Interface FsMetadata

    Coarse metadata for a visible file or directory. Omits host-specific identifiers.

    interface FsMetadata {
        createdAt?: number;
        kind: FsEntryKind;
        modifiedAt?: number;
        path: string;
        permissions?: FsPermission[];
        revision?: string;
        size?: number;
    }
    Index

    Properties

    createdAt?: number

    Creation timestamp, when the runtime discloses it.

    kind: FsEntryKind

    The kind of entry.

    modifiedAt?: number

    Last-modified timestamp, when the runtime discloses it.

    path: string

    Virtual absolute path of the entry.

    permissions?: FsPermission[]

    Coarse advisory permissions for this entry.

    revision?: string

    Opaque write-precondition token. Compare only for equality; infer no ordering or content.

    size?: number

    Size in bytes, when the runtime discloses it.