Skip to main content

create_entry_component

Function create_entry_component 

Source
fn create_entry_component(path: impl AsRef<Path>) -> Result<File, Error>
Expand description

Creates a new file handle at path for writing an entry component.

The file mode is compatible with alpm-db entry components.

ยงErrors

Returns an error, if a new file cannot be created for writing at path.