MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / composeListFiles

Function composeListFiles

tests/utils/objectstore/objectstore.go:699–701  ·  view source on GitHub ↗

composeListFiles builds the command to list the filenames matching a given path

(path string)

Source from the content-addressed store, hash-verified

697
698// composeListFiles builds the command to list the filenames matching a given path
699func composeListFiles(path string) string {
700 return fmt.Sprintf("sh -c '%v'", listFilesScript(path))
701}
702
703// composeCleanFiles builds the command removing every object under the given
704// `bucket[/prefix]` path

Callers 1

ListFilesFunction · 0.85

Calls 1

listFilesScriptFunction · 0.85

Tested by

no test coverage detected