fast-fs-hash - v0.0.0-rc4
    Preparing search index...

    Function findProjectRootSync

    • Synchronous variant of findProjectRoot. Blocks the JS thread for the duration of the walk (typically tens of microseconds on a warm filesystem). Recommended for startup-time configuration and build tooling.

      Parameters

      • startPath: string

        Starting path — may be a file or a directory.

      • OptionalstopPath: string

        Optional directory — if the walker reaches this path (or any strict ancestor of it), the walk stops without probing.

      Returns ProjectRoot