1 Star 0 Fork 14

smalltsky/axe.store

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
path.gua 2.35 KB
一键复制 编辑 原始数据 按行查看 历史
axe-store 提交于 2020-07-04 20:25 . init
const pathHome = function() {
var t = '/usr/local/axe'
return t
}
const pathConfigFile = function() {
var h = pathHome()
var f = 'axe_store_config.gua'
var t = '{}/{}'.format(h, f)
return t
}
const pathCaskFileDownload = function(name) {
var h = pathHome()
var t = '{}/cask/download/{}.axestore'.format(h, name)
return t
}
const pathBottleFileDownload = function(name) {
var h = pathHome()
var t = '{}/bottle/download/{}.axestore'.format(h, name)
return t
}
const pathCaskMount = function() {
var h = pathHome()
var t = '{}'.format(h)
return t
}
const pathCaskDecompressed = function() {
var h = pathHome()
var path = '{}/cask/decompressed'.format(h)
return path
}
const pathBottleDecompressed = function() {
var h = pathHome()
var path = '{}/bottle/decompressed'.format(h)
return path
}
const pathCaskDownload = function() {
var h = pathHome()
var path = '{}/cask/download'.format(h)
return path
}
const pathBottleDownload = function() {
var h = pathHome()
var path = '{}/bottle/download'.format(h)
return path
}
const pathBottleLib = function() {
var h = pathHome()
var path = '{}/bottle/lib'.format(h)
return path
}
const pathBottlePackage = function(name) {
var l = pathBottleLib()
var p = '{}/{}'.format(l, name)
return p
}
const pathBottleBin = function() {
var h = pathHome()
var path = '{}/bin'.format(h)
return path
}
const pathLib = function() {
var h = pathHome()
var path = '{}/lib'.format(h)
return path
}
const pathOpt = function() {
var h = pathHome()
var path = '{}/opt'.format(h)
return path
}
const pathOptPackage = function(name) {
const h = pathOpt()
const path = '{}/{}'.format(h, name)
return path
}
const pathAxelib = function() {
var h = pathHome()
var path = '{}/axelib'.format(h)
return path
}
const pathAxelibPackage = function(name) {
var a = pathAxelib()
var p = '{}/{}.axelib'.format(a, name)
return p
}
const pathMeta = function() {
var h = pathHome()
var path = '{}/meta'.format(h)
return path
}
const pathMetaBin = function() {
var p = pathMeta()
var path = '{}/bin'.format(p)
return path
}
const pathAsyncOutput = function() {
var p = pathMeta()
var path = '{}/.async.out'.format(p)
return path
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/smalltskyKepler/store.git
git@gitee.com:smalltskyKepler/store.git
smalltskyKepler
store
axe.store
master

搜索帮助