class MGit::OpenApi::ScriptDownloadInfo
Attributes
output[R]
- String
-
执行输出,若出错,该变量保存出错信息,可能为nil
progress[R]
- Float
-
当前仓库在整个下载任务中所处进度(如10个任务,当前第5个下载完,则progress=0.5),并非单仓库下载进度。
repo_name[R]
- String
-
下载仓库名
repo_path[R]
- String
-
下载仓库本地地址
result[R]
- OpenApi::DOWNLOAD_RESULT
-
下载结果
Public Class Methods
new(repo_name, repo_path, result, output, progress)
click to toggle source
# File lib/m-git/open_api/script_download_info.rb, line 28 def initialize(repo_name, repo_path, result, output, progress) @repo_name = repo_name @repo_path = repo_path @result = result @output = output @progress = progress end