GitHubContentDownloader class
A class that handles downloading content from GitHub repositories.
This class provides functionality to download single files or entire directories from GitHub repositories with progress tracking and error handling. A service class for downloading content from GitHub repositories.
Handles both single file and directory downloads with progress visualization.
Constructors
- GitHubContentDownloader.new({MultiSpinner? spinner, GitHubApiClient? apiClient, FileSystemHelper? fileSystem, String? githubToken})
- Creates a new GitHubContentDownloader instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadRepository(
String githubUrl, {String outputPath = ''}) → Future< void> - Downloads content from a GitHub repository.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited