Expand description
Support functions to create and read backup archive files.
Structs§
- Metadata
- Describes the Tmux sessions, windows & panes stored in a backup.
- Overview
- Overview of the archive’s content: number of sessions, windows and panes in the archive.
Constants§
- FORMAT_
VERSION - Version of the archive format.
- METADATA_
FILENAME - Name of the file storing the metadata in the backup.
- PANES_
DIR_ NAME - Name of the directory storing the panes content in the backup.
- VERSION_
FILENAME - Name of the file storing the version of the archive format.
Functions§
- backup_
filepath_ pattern - Return the pattern for searching the backup files.
- create_
from_ paths - Create a new backup file in
dest_filepath
with the contents of the metadata file and panes content. - new_
backup_ filepath - Return the filepath for a new backup.
- print_
description - Print a full description of the archive, with session and window names.
- unpack
- Unpack a backup at
backup_filepath
intodest_dirpath
.