Structs§
- Local
Repo - 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.