fn write_entry_to_dir(
entry: Box<dyn EntrySource>,
path: impl AsRef<Path>,
) -> Result<(), Error>Expand description
Writes an entry to a directory path.
This function is used to create a new entry for the root directory of an alpm-db.
ยงErrors
Returns an error, if
- the alpm-db-desc data of the
EntrySourceimplementation cannot be retrieved - the alpm-db-files data of the
EntrySourceimplementation cannot be retrieved - the ALPM-MTREE data of the
EntrySourceimplementation cannot be retrieved - an error occurs while attempting to retrieve the optional alpm-install-scriptlet data