package
0.0.0-20241018062513-434a8ceb6a13
Repository: https://github.com/linuxdeepin/lastore-daemon.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AllCheckUpdateType 对应 system.AllCheckUpdate.
AllInstallUpdateType 对应 system.AllInstallUpdate.
No description provided by the author
No description provided by the author
No description provided by the author
CustomSourceWrapper 根据updateType组合source文件,doRealAction完成实际操作,unref用于释放资源.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
$ apt-config --format '%f=%v%n' dump Dir Dir=/ Dir::Cache=var/cache/apt Dir::Cache::archives=archives/ Dir::Cache::srcpkgcache=srcpkgcache.bin Dir::Cache::pkgcache=pkgcache.bin */.
GetCategorySourceMap 缺省更新类型与对应仓库的map.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ListPackageFile list files path contained in the packages.
No description provided by the author
No description provided by the author
QueryFileCacheSize parsing the file total size(kb) of the path.
QueryPackageDependencies return the directly dependencies.
QueryPackageDownloadSize parsing the total size of download archives when installing the packages.
QueryPackageInstallable query whether the pkgId can be installed.
QueryPackageInstalled query whether the pkgId installed.
No description provided by the author
QuerySourceDownloadSize 根据更新类型(仓库),获取需要的下载量,return arg0:需要下载的量;arg1:所有包的大小;arg2:error.
No description provided by the author
SystemArchitectures return the system package manager supported architectures.
UpdateOtherSystemSourceDir otherSourceList 需要list文件的绝对路径.
No description provided by the author
No description provided by the author
UpdateSystemDefaultSourceDir systemSourceList需要list文件的绝对路径;更新系统仓库文件夹,如果从更新平台获取系统仓库,那么不需要调用这里.
No description provided by the author
UpdateUnknownSourceDir 更新未知来源仓库文件夹.

# Constants

所有需要检查的仓库 TODO 该字段变动,需要检查所有使用者.
所有控制中心需要显示的仓库.
追加仓库的路径.
追加仓库/etc/deepin/lastore-daemon/sources.list.d/ 用于打印管理追加离线包.检查该仓库,不显示更新内容.
No description provided by the author
No description provided by the author
No description provided by the author
应用仓库更新,检查该仓库,不显示更新内容.
No description provided by the author
已授权.
授权失效.
NotSupportBackup ABStatus = "notSupportBackup".
No description provided by the author
No description provided by the author
Downloaded.
No description provided by the author
No description provided by the author
历史版本遗留,已废弃.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
离线更新元数据.
在线更新元数据.
No description provided by the author
包损坏,需要删除后重新下载或者安装.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
running状态.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
该配置指定了通过lastore更新的deb包缓存路径.
No description provided by the author
历史版本遗留,已废弃.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
包含了有更新没下载.
No description provided by the author
No description provided by the author
No description provided by the author
无更新.
No description provided by the author
在offline_repo.go 中的 UpdateOfflineSourceFile 更新.
离线仓库,控制中心不检查、不显示;离线更新工具检查和显示;.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
仅安全仓库更新,已经废弃,用于处理历史版本升级后的兼容问题.
No description provided by the author
No description provided by the author
No description provided by the author
其他需要检查的系统仓库.
其他来源系统的仓库更新:对应dconfig non-unknown-sources 字段去掉商店和安全仓库,通常为驱动、hwe仓库(hwe仓库应该从平台获取),检查该仓库,不显示更新内容.
No description provided by the author
No description provided by the author
从更新平台获取的仓库,为系统更新仓库,在message_report.go 中的 获取升级版本信息genUpdatePolicyByToken后即可 更新.
No description provided by the author
No description provided by the author
No description provided by the author
UpgradeJobType 创建任务时会根据四种下载和安装类型,分别创建带有不同参数的下载和更新任务.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
安全仓库更新,检查该仓库,显示更新内容.
No description provided by the author
No description provided by the author
No description provided by the author
系统更新仓库.
No description provided by the author
系统仓库更新,检查该仓库,显示更新内容.
No description provided by the author
试用期已授权.
试用期已过期.
未授权.
未知.
未知来源更新的源个数不定,需要创建软链接放在同一目录内.
未知来源仓库更新:排除 系统、商店、安全、驱动、hwe仓库的其他仓库,不检查该仓库,不显示更新内容.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
need reboot.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
进行备份+更新时,当处于更新未开始状态.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpgradeStatusAndReason 用于记录整体更新安装的流程状态和原因,dde-session-daemon和回滚界面会根据该配置进行提示.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpgradeStatus 整体更新安装的流程状态.