Function lstatSync

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: undefined

    Returns "fs".Stats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: "fs".StatSyncOptions & { bigint?: false; throwIfNoEntry: false }

    Returns "fs".Stats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • options: "fs".StatSyncOptions & { bigint: true; throwIfNoEntry: false }

    Returns "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: "fs".StatSyncOptions & { bigint?: false }

    Returns "fs".Stats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • options: "fs".StatSyncOptions & { bigint: true }

    Returns "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • options: "fs".StatSyncOptions & { bigint: boolean; throwIfNoEntry?: false }

    Returns "fs".Stats | "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: "fs".StatSyncOptions

    Returns "fs".Stats | "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: undefined

    Returns "fs".Stats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: "fs".StatSyncOptions & { bigint?: false; throwIfNoEntry: false }

    Returns "fs".Stats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • options: "fs".StatSyncOptions & { bigint: true; throwIfNoEntry: false }

    Returns "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: "fs".StatSyncOptions & { bigint?: false }

    Returns "fs".Stats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • options: "fs".StatSyncOptions & { bigint: true }

    Returns "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • options: "fs".StatSyncOptions & { bigint: boolean; throwIfNoEntry?: false }

    Returns "fs".Stats | "fs".BigIntStats

  • Synchronous lstat(2) - Get file status. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: "fs".StatSyncOptions

    Returns "fs".Stats | "fs".BigIntStats

Generated using TypeDoc