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 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: StatSyncOptions & {
          bigint?: false;
          throwIfNoEntry: false;
      }

    Returns 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: StatSyncOptions & {
          bigint: true;
          throwIfNoEntry: false;
      }

    Returns 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: StatSyncOptions & {
          bigint?: false;
      }

    Returns 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: StatSyncOptions & {
          bigint: true;
      }

    Returns 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: StatSyncOptions & {
          bigint: boolean;
          throwIfNoEntry?: false;
      }

    Returns Stats | 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: StatSyncOptions

    Returns Stats | BigIntStats

Generated using TypeDoc