(ctx context.Context, sections ...string)
| 633 | } |
| 634 | |
| 635 | func (c cmdable) InfoMap(ctx context.Context, sections ...string) *InfoCmd { |
| 636 | args := make([]interface{}, 1+len(sections)) |
| 637 | args[0] = "info" |
| 638 | for i, section := range sections { |
| 639 | args[i+1] = section |
| 640 | } |
| 641 | cmd := NewInfoCmd(ctx, args...) |
| 642 | _ = c(ctx, cmd) |
| 643 | return cmd |
| 644 | } |
| 645 | |
| 646 | func (c cmdable) LastSave(ctx context.Context) *IntCmd { |
| 647 | cmd := NewIntCmd(ctx, "lastsave") |
no test coverage detected