Skip to main content

Module export

Module export 

Source

Structs§

ExportFilter
Path-level export filtering. Tracker audience is the default filter and flags are the override; there is no hunk privacy, no AST rewriting, and no concealment claim. The filter decides which files are copied out of a workspace — nothing more.
ExportPlan
ExportedFile
TrackerDisposition
One tracker’s disposition, so the CLI can say what was left behind and how to change its mind.

Enums§

Reason
Why one file is in or out of an export.

Functions§

is_public
Audience is a string so user:<name> stays expressible; only the exact value public means “everyone may read this”.
plan
Decide what leaves the workspace. Nothing is copied here — a plan is worth having on its own, because --dry-run and the failure message both need it before any file moves.
prepare_destination
A destination must be absent or empty — export writes a fresh repository, and quietly merging into someone’s existing directory is the kind of surprise that loses work.