summary

package
v0.1.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package summary provides repository and backup summary generation. It formats database metadata, statistics, and backup information for display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupListDetail

func BackupListDetail(a *app.Context) string

BackupListDetail returns the details of a backup.

func BackupWithFmtDate

func BackupWithFmtDate(ctx context.Context, c *ui.Console, r *db.SQLite) string

BackupWithFmtDate generates a summary of record counts for a given SQLite repository.

repositoryName (main: n) (time)

func BackupWithFmtDateFromPath

func BackupWithFmtDateFromPath(ctx context.Context, c *ui.Console, fp string) string

BackupWithFmtDateFromPath generates a summary of record counts for a given SQLite repository.

repositoryName (main: n) or (locked) (time)

func Backups

func Backups(a *app.Context) string

Backups returns a summary of the backups.

last, path and number of backups.

func Info

func Info(a *app.Context) string

Info returns the repository info.

func Repo

func Repo(a *app.Context) string

Repo returns a summary of the repository.

func RepoFromPath

func RepoFromPath(a *app.Context, dbPath, backupPath string) string

RepoFromPath returns a summary of the repository.

func RepoRecords

func RepoRecords(ctx context.Context, c *ui.Console, r *db.SQLite) string

RepoRecords generates a summary of record counts for a given SQLite repository and bookmark.

repositoryName (main: n)

func RepoRecordsFromPath

func RepoRecordsFromPath(ctx context.Context, c *ui.Console, fp string) string

RepoRecordsFromPath generates a summary of record counts for a given SQLite repository and bookmark.

repositoryName (main: n) | (locked)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL