1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-09-17 09:06:47 +08:00
parent 299077b6f1
commit ac9335f46e
2 changed files with 8 additions and 1 deletions

View File

@ -148,6 +148,7 @@ func init() {
arg[1] = strings.Split(arg[1], mdb.FS)[0] arg[1] = strings.Split(arg[1], mdb.FS)[0]
_inner_list(m, kit.Ext(arg[1]), arg[1], arg[0]) _inner_list(m, kit.Ext(arg[1]), arg[1], arg[0])
ctx.DisplayLocal(m, "").Option(REPOS, kit.Join(m.Cmd(REPOS, ice.OptionFields(nfs.PATH)).Sort(nfs.PATH).Appendv(nfs.PATH))) ctx.DisplayLocal(m, "").Option(REPOS, kit.Join(m.Cmd(REPOS, ice.OptionFields(nfs.PATH)).Sort(nfs.PATH).Appendv(nfs.PATH)))
m.Status(mdb.TIME, ice.Info.Make.Time, "file", arg[1], "line", kit.Select("1", arg, 2), "back", "0")
} }
}}, }},
}) })

View File

@ -564,7 +564,13 @@ func init() {
if u, ok := list[kit.ParseURL(remote).Host]; ok { if u, ok := list[kit.ParseURL(remote).Host]; ok {
password, _ = u.User.Password() password, _ = u.User.Password()
} }
m.Sort("repos,status,file").Status(mdb.TIME, last, REMOTE, remote, kit.Select(aaa.TECH, aaa.VOID, password == ""), m.Option(aaa.EMAIL), kit.MDB_COUNT, kit.Split(m.FormatSize())[0], kit.MDB_COST, m.FormatCost()) m.Sort("repos,status,file").Status(
mdb.TIME, last,
REMOTE, remote, VERSION, ice.Info.Make.Versions(),
kit.Select(aaa.TECH, aaa.VOID, password == ""), m.Option(aaa.EMAIL),
kit.MDB_COUNT, kit.Split(m.FormatSize())[0],
kit.MDB_COST, m.FormatCost(),
)
} }
}}, }},
TOTAL: {Hand: func(m *ice.Message, arg ...string) { TOTAL: {Hand: func(m *ice.Message, arg ...string) {