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

Function composeCleanFiles

tests/utils/objectstore/objectstore.go:705–707  ·  view source on GitHub ↗

composeCleanFiles builds the command removing every object under the given `bucket[/prefix]` path

(path string)

Source from the content-addressed store, hash-verified

703// composeCleanFiles builds the command removing every object under the given
704// `bucket[/prefix]` path
705func composeCleanFiles(path string) string {
706 return fmt.Sprintf(`sh -c 'aws s3 rm --recursive "s3://%v"'`, path)
707}
708
709// composeFindCmd builds the command counting the objects matching a given path
710func composeFindCmd(path string) string {

Callers 1

CleanFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected