Cotal TypeScript packages
    Preparing search index...

    Function hasUserAuthState

    • Whether space is user-auth-enabled ON DISK under root — the authoritative marker, NOT a bare existsSync on userAuthStateDir: only a real provider pin inside a real directory counts. The state-dir read goes through userAuthStateDir, so a pre-hex legacy layout has already been migrated by the time the marker is checked.

      Parameters

      • root: string
      • space: string
      • options: { readOnly?: boolean } = {}

      Returns boolean