MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / loadFiles

Function loadFiles

agent/utils/compose/compose.go:236–244  ·  view source on GitHub ↗
(filePath string)

Source from the content-addressed store, hash-verified

234}
235
236func loadFiles(filePath string) []string {
237 var fileItem []string
238 for _, item := range strings.Split(filePath, ",") {
239 if len(item) != 0 {
240 fileItem = append(fileItem, "-f", item)
241 }
242 }
243 return fileItem
244}

Callers 8

UpFunction · 0.85
UpWithTaskFunction · 0.85
DownFunction · 0.85
StopFunction · 0.85
RestartFunction · 0.85
OperateFunction · 0.85
DownAndUpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected