Struct repo_backup::Driver[][src]

pub struct Driver { /* fields omitted */ }

A driver for orchestrating the process of fetching a list of repositories and then downloading each of them.

Methods

impl Driver
[src]

Create a new Driver with the provided config.

Download a list of all repositories from the Providers found in the configuration file, then fetch any recent changes (running git clone if necessary).

Update the provided repositories.

Iterate over the Providers and collect all the repositories they've found into one big list.

Trait Implementations

impl Debug for Driver
[src]

Formats the value using the given formatter. Read more

impl Clone for Driver
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Driver

impl Sync for Driver