Crypto CLI
    Preparing search index...

    Function sharedModeWarning

    • The warning for a secret file that users other than its owner can access, or undefined when there is nothing to warn about. Windows has no POSIX mode bits (Node reports 0o666 or 0o444 whatever the ACL says), so nothing is reported there.

      Parameters

      • file: string

        The path, as given.

      • mode: number

        stat().mode of the file.

      • platform: Platform

        process.platform.

      Returns string | undefined