Documentation
¶
Overview ¶
Package snapshot builds shareable mirror copies for demos and benchmarks. See specs/000-product/contracts/sync.md "Snapshot generation".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
From string
Out string
Spread time.Duration // 0 = keep source timestamps
Scale int // target issue count; ≤ source count means no cloning
Seed int64 // reserved for determinism; algorithm itself is seed-stable
Force bool
Now time.Time
}
Options controls snapshot generation. Now is injectable for deterministic tests.
Click to show internal directories.
Click to hide internal directories.