Expand description
安装记录缓存 <plugins>/.plugins.json。
这个文件是加速与展示用,不是事实来源 —— 事实来源永远是每个插件目录里的
manifest。缓存丢了、坏了,list() 会从磁盘重建。
Structs§
- Index
.plugins.json的内容。- Index
Entry - 一条安装记录。
Enums§
- Install
Source - 插件是怎么装进来的。
Constants§
- CACHE_
VERSION - 当前缓存 schema 版本。
Functions§
- now_
unix - 当前 Unix 秒。取不到系统时间时返回 0(宁可时间戳不准,也不要让安装失败)。