server

package
v2.0.4-main.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(ctx context.Context, scope *checkpoints.Scope, reference string) (*checkpoints.Diff, string, error)

What changed in the session's project since the checkpoint the reference names, or since its oldest kept one, the session's baseline, for none; and the snapshot compared with. Its steps that read stop once the context ends, which it then answers

func Register

func Register(registry *server.Registry, cfg *config.Config, stores *sessions.Registry, host *terminal.Terminal)

func Report

func Report(restored *checkpointsv1.RestoreResponse) []string

What a restore did as the user reads it, line by line

func Restored

A restore as the service answers it

func Scope

func Scope(ctx context.Context, cfg *config.Config, stores *sessions.Registry, host *terminal.Terminal, id string) (*checkpoints.Scope, error)

Checkpoints as a session sees them: its profile's, of the project its folder lies in

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL