• Try to read an release file path and apply an parser to the output

    Parameters

    • path: string

      The Path to read for an release file

    • parser: ((output) => undefined | LinuxOS)

      An function to parse the output of the file

        • (output): undefined | LinuxOS
        • Parameters

          • output: string

          Returns undefined | LinuxOS

    Returns Promise<LinuxOS | undefined>

Generated using TypeDoc