Cotal TypeScript packages
    Preparing search index...

    Function credentialFileExposure

    • Why a credential file is not private to this user, and the command that makes it private, or undefined when it is. The rule is protectedCredentialReference's: an owned file with no group or other access. The Windows model has no POSIX owner or mode, so it reports nothing.

      Parameters

      • path: string
      • stat: Pick<Stats, "uid" | "mode">

      Returns { reason: string; remedy: string } | undefined