-------------------------------------------------------------------
(app core.App)
| 832 | // ------------------------------------------------------------------- |
| 833 | |
| 834 | func createTestBackups(app core.App) error { |
| 835 | ctx := context.Background() |
| 836 | |
| 837 | if err := app.CreateBackup(ctx, "test1.zip"); err != nil { |
| 838 | return err |
| 839 | } |
| 840 | |
| 841 | if err := app.CreateBackup(ctx, "test2.zip"); err != nil { |
| 842 | return err |
| 843 | } |
| 844 | |
| 845 | if err := app.CreateBackup(ctx, "test3.zip"); err != nil { |
| 846 | return err |
| 847 | } |
| 848 | |
| 849 | if err := app.CreateBackup(ctx, "@test4.zip"); err != nil { |
| 850 | return err |
| 851 | } |
| 852 | |
| 853 | return nil |
| 854 | } |
| 855 | |
| 856 | func getBackupFiles(app core.App) ([]*blob.ListObject, error) { |
| 857 | fsys, err := app.NewBackupsFilesystem() |
no test coverage detected
searching dependent graphs…