MCPcopy Index your code
hub / github.com/screego/server / getFiles

Function getFiles

config/config.go:272–283  ·  view source on GitHub ↗
(relativeTo string)

Source from the content-addressed store, hash-verified

270}
271
272func getFiles(relativeTo string) []string {
273 var result []string
274 for _, file := range files {
275 result = append(result, filepath.Join(relativeTo, file))
276 }
277 homeDir, err := os.UserHomeDir()
278 if err == nil {
279 result = append(result, filepath.Join(homeDir, ".config/screego/server.config"))
280 }
281 result = append(result, absoluteFiles...)
282 return result
283}

Callers 1

GetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected