Crate ghbu

Source

Structs§

LocalRepo
LocalRepo is a Git repository with a local path.
Scope
Scope determines if the user’s or an organization’s repositories are backed up.

Functions§

create_callbacks
Creates the callbacks using SSH credentials.
fetch_repo_ssh_urls_by_name
Calls the GitHub endpoint for the scope and returns a HashMap of SSH URLs by repository name.
prepare_clone_dir
Checks if dir exists and if it is a directory; creates the directory, if needed.