MCPcopy Create free account
hub / github.com/perkeep/perkeep / addRoot

Function addRoot

dev/devcam/hook.go:233–239  ·  view source on GitHub ↗
(root string, list []string)

Source from the content-addressed store, hash-verified

231}
232
233func addRoot(root string, list []string) []string {
234 var out []string
235 for _, x := range list {
236 out = append(out, filepath.Join(root, x))
237 }
238 return out
239}
240
241// nonBlankLines returns the non-blank lines in text.
242func nonBlankLines(text string) []string {

Callers 1

runGofmtMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected