Appends two statement lists.
(statements, appendStatements []Statement)
| 474 | |
| 475 | // Appends two statement lists. |
| 476 | func 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. |
| 485 | func getBucketPolicy(statement Statement, prefix string) (commonFound, readOnly, writeOnly bool) { |
no test coverage detected