tarlatan
    Preparing search index...

    Function decodeRefFormat

    • Decodes --show-ref-format's stdout: files\n is files and reftable\n is reftable. Any other output, such as the echoed --show-ref-format\n of a git that does not know the option, an unknown name, a missing newline or a second line, is none: the caller then learns the storage another way.

      Parameters

      • output: string

      Returns Option<KnownRefStorage>