Crate fdroid

source ·
Expand description

Fdroid

Create and manipulate an fdroid repository.

If you want to edit the metadata of a specific package, see metadata for the structs. If you want to configure the repository, see Config. If you want to edit an app, see App.

All of these structs can be centrally edited using the methods of Repository.

Quickstart

For an in-depth documentation, go to Repository.

Create a new repository

let repository = Repository::new(repository_path).unwrap();

repository_path has to be a valid path pointing to an empty directory or an already existing repository.

If the repository does not exists, it will create a new one.

Get all current apps

let apps = repository.apps().unwrap();

Upload a new app

repository.add_app(&app_path).unwrap();

External Dependencies

Logging

This crate uses the log crate to log all write changes.

Modules

Structs