public final class BackupTools extends Object
Constructor and Description |
---|
BackupTools() |
Modifier and Type | Method and Description |
---|---|
static String[] |
makeArgs(String localDir,
String login,
String pass,
String token,
String user,
String repo,
boolean clean) |
public static String[] makeArgs(String localDir, String login, String pass, String token, String user, String repo, boolean clean)
localDir
- - path to local git repositorylogin
- - User name for authenticationpass
- - Password for authenticationtoken
- - OAuth token for authenticationuser
- - GitHub user to backuprepo
- - GitHub repository to backupclean
- - Whether or not to force a full backupCopyright © 2015–2022 SciJava. All rights reserved.