package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ArchiveSubject archives the subject defined by sname and nameMap to dest via ar, announcing progress to obs.
CreateTGZ creates the file at path and opens a TGZWriter into it.
New constructs a saver with the pathset paths, archive maker archiveMaker, and options ops.
NewPathset creates a save pathset rooted at root.
NewTGZWriter creates a new tarball writer on top of the basic writer w.
ObserveWith appends obs to the observer list for this saver.
OnArchive sends OnArchive to every instance observer in obs.
OnArchiveFileAdded sends an archive 'file added' message to every observer in obs.
OnArchiveFileMissing sends an archive 'file missing' message to every observer in obs.
OnArchiveFinish sends an archive finish message to every observer in obs.
OnArchiveStart sends an archive start message to every observer in obs.
Options applies each option in ops in turn.

# Constants

ArchiveFileAdded states that the file with the given index was present and added.
ArchiveFileMissing states that the file with the given index was missing and skipped.
ArchiveFinish denotes the end of an archival run.
ArchiveStart denotes the start of an archival run.

# Variables

ErrArchiveMakerNil is the error produced when the archive maker supplied to New is nil.
ErrArchiverNil occurs when we try to archive a subject with no archiver.

# Structs

ArchiveMessage represents an OnArchive message.
Pathset contains the pre-computed paths for saving 'interesting' run results.
RunPathset represents a pathset containing a saved run.
Saver contains the state used when saving 'interesting' subjects.
TGZWriter is a wrapper over a gzipped archive writer.

# Interfaces

Archiver is the interface of types that can archive subject files.
Observer represents the observer interface for savers.

# Type aliases

No description provided by the author
Option is the type of options to New.