TomGitStorage constructor
TomGitStorage({
- required TomGitCloneOpener openClone,
- TomGitLocalOpener? openLocal,
- TomTokenSource? tokens,
- Client? client,
- ({String email, String name}) committer()?,
- String commitMessagePrefix = '',
- int maxPushAttempts = 5,
- int? maxObjectBytes,
Implementation
TomGitStorage({
required this.openClone,
this.openLocal,
this.tokens,
http.Client? client,
({String name, String email}) Function()? committer,
this.commitMessagePrefix = '',
this.maxPushAttempts = 5,
int? maxObjectBytes,
}) : _client = client,
_committer =
committer ??
(() => (name: 'Tom storage', email: 'tom-storage@localhost')),
_maxObjectBytes = maxObjectBytes;