Function create

Source
pub fn create(
    pkgbuild_path: &Path,
    output_format: SourceInfoOutputFormat,
    pretty: bool,
) -> Result<(), Error>
Expand description

Take a PKGBUILD, create SRCINFO data from it and print it.

ยงErrors

Returns an error if

  • running the alpm-pkgbuild-bridge script fails,
  • or parsing the output of the ``alpm-pkgbuild-bridge`] script fails.