Documentation
¶
Index ¶
- type Bridge
- func (b *Bridge) Disable(ctx context.Context, dir string) error
- func (b *Bridge) Enable(ctx context.Context, dir string) error
- func (b *Bridge) GetStatus(ctx context.Context, dir string) (*Status, error)
- func (b *Bridge) ListCheckpoints(ctx context.Context, dir string) ([]Checkpoint, error)
- func (b *Bridge) Ready() bool
- func (b *Bridge) Rewind(ctx context.Context, dir string, checkpointID string) error
- type Checkpoint
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
Bridge wraps the trace CLI for Git-native session capture.
func NewBridge ¶
func NewBridge() *Bridge
NewBridge locates the trace binary and returns a bridge. Returns a no-op bridge if trace is not installed, logging a warning on first use.
func (*Bridge) ListCheckpoints ¶
ListCheckpoints returns available checkpoints for the current session.
Click to show internal directories.
Click to hide internal directories.