alpm_pkginfo::commands

Function create_file

Source
pub fn create_file(command: CreateCommand) -> Result<(), Error>
Expand description

Create a file according to a PKGINFO schema

ยงErrors

Returns an error if one of the provided arguments is not valid, if creating output directory or file is not possible, or if the output file can not be written to.