(ctx context.Context, dr repo.DirectRepository)
| 121 | } |
| 122 | |
| 123 | func (c *commandRepositoryStatus) dumpRetentionStatus(ctx context.Context, dr repo.DirectRepository) { |
| 124 | if blobcfg, _ := dr.FormatManager().BlobCfgBlob(ctx); blobcfg.IsRetentionEnabled() { |
| 125 | c.out.printStdout("\n") |
| 126 | c.out.printStdout("Blob retention mode: %s\n", blobcfg.RetentionMode) |
| 127 | c.out.printStdout("Blob retention period: %s\n", blobcfg.RetentionPeriod) |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | //nolint:funlen,gocyclo |
| 132 | func (c *commandRepositoryStatus) run(ctx context.Context, rep repo.Repository) error { |
no test coverage detected