|
82 | 82 | 项目首页 |
83 | 83 | </q-item-section> |
84 | 84 | </q-item> |
| 85 | + <q-item clickable v-ripple @click="goToID('#repo_install')"> |
| 86 | + <q-item-section avatar> |
| 87 | + <q-icon name="help" /> |
| 88 | + </q-item-section> |
| 89 | + <q-item-section> |
| 90 | + 软件源安装 |
| 91 | + </q-item-section> |
| 92 | + </q-item> |
85 | 93 | <q-item clickable v-ripple @click="goToID('#online_install')"> |
86 | 94 | <q-item-section avatar> |
87 | 95 | <q-icon name="help" /> |
|
114 | 122 | 依赖库 |
115 | 123 | </q-item-section> |
116 | 124 | </q-item> |
| 125 | + <q-item clickable v-ripple @click="goToID('#dependencies-package')"> |
| 126 | + <q-item-section avatar> |
| 127 | + <q-icon name="help" /> |
| 128 | + </q-item-section> |
| 129 | + <q-item-section> |
| 130 | + 依赖包 |
| 131 | + </q-item-section> |
| 132 | + </q-item> |
117 | 133 | <q-item clickable v-ripple @click="goToID('#function_usage')"> |
118 | 134 | <q-item-section avatar> |
119 | 135 | <q-icon name="help" /> |
|
155 | 171 | <q-btn id="homepage" class="title1 text-white bg-primary" stretch flat |
156 | 172 | label="项目首页:https://github.com/CNOCTAVE/octave_zstd" @click="goTo('https://github.com/CNOCTAVE/octave_zstd')"></q-btn> |
157 | 173 | <q-separator></q-separator> |
| 174 | + <div id="repo_install" class="title1 q-ma-md text-primary">软件源安装</div> |
| 175 | + <p class="q-ma-md">octave_zstd可以通过Octave软件源安装。</p> |
| 176 | + <div class="text-h5 q-ma-md text-red-10">通过Octave软件源安装octave_zstd,代码如下:</div> |
| 177 | + <p class="q-ma-md">>> pkg install -forge octave_zstd</p> |
| 178 | + <q-separator></q-separator> |
158 | 179 | <div id="online_install" class="title1 q-ma-md text-primary">在线安装</div> |
159 | 180 | <p class="q-ma-md">octave_zstd可以在线安装。</p> |
160 | 181 | <div class="text-h5 q-ma-md text-red-10">在线安装octave_zstd,代码如下:</div> |
|
177 | 198 | <div class="text-h5 q-ma-md text-red-10">在其他的Linux发行版上的命令有所不同。欢迎广大开发者补充。 |
178 | 199 | </div> |
179 | 200 | <q-separator></q-separator> |
| 201 | + <div id="dependencies-package" class="title1 q-ma-md text-primary">依赖包</div> |
| 202 | + <div class="text-h5 q-ma-md text-red-10">此软件包依赖octave_tar。</div> |
| 203 | + <div class="text-h5 q-ma-md text-red-10">安装octave_tar,代码如下:</div> |
| 204 | + <p class="q-ma-md">>> pkg install -forge octave_tar</p> |
| 205 | + <div class="text-h5 q-ma-md text-red-10">在其他的Linux发行版上的命令有所不同。欢迎广大开发者补充。 |
| 206 | + </div> |
| 207 | + <q-separator></q-separator> |
180 | 208 | <div id="function_usage" class="title1 q-ma-md text-primary">函数用法</div> |
181 | 209 | <div class="text-h5 q-ma-md text-red-10">zstd_compress</div> |
182 | 210 | <p class="q-ma-md">Loadable Function: 0 = zstd_compress(FILENAME, COMPRESSED_FILENAME)</p> |
|
189 | 217 | <p class="q-ma-md">输入压缩文件名COMPRESSED_FILENAME和解压缩后的文件名</p> |
190 | 218 | <p class="q-ma-md">DECOMPRESSED_FILENAME。总是返回0。</p> |
191 | 219 | <q-separator></q-separator> |
| 220 | + <div class="text-h5 q-ma-md text-red-10">tar_zstd_compress</div> |
| 221 | + <p class="q-ma-md">Loadable Function: ret = tar_zstd_compress(SOURCE1, SOURCE2, ... , TAR_ZSTD_FILENAME)</p> |
| 222 | + <p class="q-ma-md">输入一个或多个文件或文件夹名SOURCE1, SOURCE2, ...和压缩后的文件名TAR_ZSTD_FILENAME。</p> |
| 223 | + <p class="q-ma-md">如果返回0,则代表压缩成功;否则代表压缩失败。</p> |
| 224 | + <q-separator></q-separator> |
| 225 | + <div class="text-h5 q-ma-md text-red-10">tar_zstd_decompress</div> |
| 226 | + <p class="q-ma-md">Loadable Function: 0 = tar_zstd_decompress(TAR_ZSTD_FILENAME, DESTINATION_DIR)</p> |
| 227 | + <p class="q-ma-md">输入压缩文件名TAR_ZSTD_FILENAME和解压缩后的文件名DESTINATION_DIR。</p> |
| 228 | + <p class="q-ma-md">如果返回0,则代表解压缩成功;否则代表解压缩失败。</p> |
| 229 | + <q-separator></q-separator> |
192 | 230 | <div class="text-h5 q-ma-md text-red-10">zstd_compress_string</div> |
193 | 231 | <p class="q-ma-md">Loadable Function: COMPRESSED_STRING = zstd_compress_string(STRING)</p> |
194 | 232 | <p class="q-ma-md">输入字符串STRING,返回压缩后的字符串COMPRESSED_STRING。</p> |
|
0 commit comments