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

Function composeFindCmd

tests/utils/objectstore/objectstore.go:710–712  ·  view source on GitHub ↗

composeFindCmd builds the command counting the objects matching a given path

(path string)

Source from the content-addressed store, hash-verified

708
709// composeFindCmd builds the command counting the objects matching a given path
710func composeFindCmd(path string) string {
711 return fmt.Sprintf("sh -c '%v | wc -l'", listFilesScript(path))
712}
713
714// GetFileTags will use the client pod to retrieve the tags in a specified path
715func GetFileTags(storeEnv *Env, path string) (TagSet, error) {

Callers 1

CountFilesFunction · 0.85

Calls 1

listFilesScriptFunction · 0.85

Tested by

no test coverage detected