mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-11-06 22:59:44 +00:00
wip
This commit is contained in:
parent
32e84a943c
commit
752deb83c8
@ -222,19 +222,6 @@ func DirPath(c *gin.Context) {
|
|||||||
for _, v := range shares {
|
for _, v := range shares {
|
||||||
sharesMap[v.Path] = fmt.Sprint(v.ID)
|
sharesMap[v.Path] = fmt.Sprint(v.ID)
|
||||||
}
|
}
|
||||||
// if path == "/DATA/AppData" {
|
|
||||||
// list := service.MyService.Docker().DockerContainerList()
|
|
||||||
// apps := make(map[string]string, len(list))
|
|
||||||
// for _, v := range list {
|
|
||||||
// apps[strings.ReplaceAll(v.Names[0], "/", "")] = strings.ReplaceAll(v.Names[0], "/", "")
|
|
||||||
// }
|
|
||||||
// for i := 0; i < len(info); i++ {
|
|
||||||
// if v, ok := apps[info[i].Name]; ok {
|
|
||||||
// info[i].Label = v
|
|
||||||
// info[i].Type = "application"
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// } // TODO - ?
|
|
||||||
|
|
||||||
for i := 0; i < len(info); i++ {
|
for i := 0; i < len(info); i++ {
|
||||||
if v, ok := sharesMap[info[i].Path]; ok {
|
if v, ok := sharesMap[info[i].Path]; ok {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user