MCPcopy
hub / github.com/minio/minio-go / appendStatements

Function appendStatements

pkg/policy/bucket-policy.go:476–482  ·  view source on GitHub ↗

Appends two statement lists.

(statements, appendStatements []Statement)

Source from the content-addressed store, hash-verified

474
475// Appends two statement lists.
476func appendStatements(statements, appendStatements []Statement) []Statement {
477 for _, s := range appendStatements {
478 statements = appendStatement(statements, s)
479 }
480
481 return statements
482}
483
484// Returns policy of given bucket statement.
485func getBucketPolicy(statement Statement, prefix string) (commonFound, readOnly, writeOnly bool) {

Callers 1

SetPolicyFunction · 0.85

Calls 1

appendStatementFunction · 0.85

Tested by

no test coverage detected